Commit b801ec19 by Baruch Sterin

pyabc package script: don't package mercurial repositories

parent 157d9706
...@@ -32,6 +32,9 @@ def add_python_lib(tf, lib_dir, lib, mtime): ...@@ -32,6 +32,9 @@ def add_python_lib(tf, lib_dir, lib, mtime):
relpath = os.path.relpath(root, lib) relpath = os.path.relpath(root, lib)
if '.hg' in relpath.split('/'):
continue
if relpath=='.': if relpath=='.':
arcroot = lib_dir arcroot = lib_dir
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment