mirror of https://github.com/YosysHQ/abc.git
pyabc package script: don't package mercurial repositories
This commit is contained in:
parent
157d97060c
commit
b801ec1997
|
|
@ -32,6 +32,9 @@ def add_python_lib(tf, lib_dir, lib, mtime):
|
|||
|
||||
relpath = os.path.relpath(root, lib)
|
||||
|
||||
if '.hg' in relpath.split('/'):
|
||||
continue
|
||||
|
||||
if relpath=='.':
|
||||
arcroot = lib_dir
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue