Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
ba564b0f
Commit
ba564b0f
authored
Jul 31, 2013
by
Pawel Szostek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move path.py to util/path.py
parent
7e4c34bd
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
13 deletions
+12
-13
ise_project.py
src/action/ise_project.py
+1
-1
list_modules.py
src/action/list_modules.py
+1
-1
env.py
src/env.py
+1
-1
git.py
src/fetch/git.py
+1
-1
svn.py
src/fetch/svn.py
+1
-1
manifest_parser.py
src/manifest_parser.py
+1
-1
module.py
src/module.py
+3
-3
srcfile.py
src/srcfile.py
+3
-4
path.py
src/util/path.py
+0
-0
No files found.
src/action/ise_project.py
View file @
ba564b0f
...
...
@@ -9,7 +9,7 @@ from srcfile import SourceFileSet
from
tools.ise
import
ISEProject
from
srcfile
import
SourceFileFactory
import
global_mod
import
path
from
util
import
path
class
GenerateISEProject
(
Action
):
def
_check_manifest
(
self
):
...
...
src/action/list_modules.py
View file @
ba564b0f
from
action
import
Action
import
path
from
util
import
path
class
ListModules
(
Action
):
...
...
src/env.py
View file @
ba564b0f
...
...
@@ -27,7 +27,7 @@ from subprocess import Popen, PIPE
import
re
import
logging
import
os.path
import
path
from
util
import
path
_plain_print
=
print
...
...
src/fetch/git.py
View file @
ba564b0f
#!/usr/bin/env python
import
os
import
path
from
util
import
path
import
logging
from
subprocess
import
Popen
,
PIPE
...
...
src/fetch/svn.py
View file @
ba564b0f
...
...
@@ -2,7 +2,7 @@
import
os
import
logging
import
path
from
util
import
path
from
subprocess
import
Popen
,
PIPE
...
...
src/manifest_parser.py
View file @
ba564b0f
...
...
@@ -19,7 +19,7 @@
# along with Hdlmake. If not, see <http://www.gnu.org/licenses/>.
#
import
path
as
path_mod
from
util
import
path
as
path_mod
import
os
from
configparser
import
ConfigParser
...
...
src/module.py
View file @
ba564b0f
...
...
@@ -6,7 +6,7 @@
from
__future__
import
print_function
from
manifest_parser
import
Manifest
,
ManifestParser
from
srcfile
import
VerilogFile
,
VHDLFile
,
SourceFileFactory
,
SourceFileSet
import
path
as
path_mod
from
util
import
path
as
path_mod
import
os
import
global_mod
import
logging
...
...
@@ -31,7 +31,7 @@ class Module(object):
@
property
def
basename
(
self
):
import
path
from
util
import
path
if
self
.
source
==
"svn"
:
return
path
.
svn_basename
(
self
.
url
)
else
:
...
...
@@ -39,7 +39,7 @@ class Module(object):
#PLEASE don't use this constructor. Create all modules with ModulePool.new_module()
def
__init__
(
self
,
parent
,
url
,
source
,
fetchto
,
pool
):
import
path
from
util
import
path
assert
url
is
not
None
assert
source
is
not
None
...
...
src/srcfile.py
View file @
ba564b0f
...
...
@@ -27,8 +27,8 @@ import logging
from
tools
import
ise
from
tools
import
modelsim
from
tools
import
quartus
import
path
as
path_mod
from
subprocess
import
Popen
,
PIPE
from
util
import
path
as
path_mod
class
File
(
object
):
def
__init__
(
self
,
path
,
module
=
None
):
...
...
@@ -52,10 +52,9 @@ class File(object):
return
os
.
path
.
dirname
(
self
.
path
)
def
rel_path
(
self
,
dir
=
None
):
import
path
if
dir
is
None
:
dir
=
os
.
getcwd
()
return
path
.
relpath
(
self
.
path
,
dir
)
return
path
_mod
.
relpath
(
self
.
path
,
dir
)
def
__str__
(
self
):
return
self
.
path
...
...
src/path.py
→
src/
util/
path.py
View file @
ba564b0f
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment