Skip to content
Snippets Groups Projects
Commit f775c467 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

update dirs item anme after fixing .egg-info directory name (thanks to Arnaud...

update dirs item anme after fixing .egg-info directory name (thanks to Arnaud Fontaine for the patch)
parent 59f4b6f9
No related branches found
No related tags found
No related merge requests found
......@@ -358,6 +358,7 @@ def scan(package, dname=None):
if clean_name != name:
log.info('renaming %s to %s', name, clean_name)
os.rename(join(root, name), join(root, clean_name))
dirs[dirs.index(name)] = clean_name
if root.endswith('.egg-info'):
if 'requires.txt' in file_names:
r['requires.txt'].add(join(root, 'requires.txt'))
......@@ -585,7 +586,7 @@ def main():
else:
version = ext_for.pop()
args += " -V %s" % vrepr(version)
dependencies.depend("python%d.%d" % version)
dependencies.depend("python%d.%d" % version)
for pattern in options.regexpr or []:
args += " -X '%s'" % pattern.replace("'", r"\'")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment