stop once we've got it

This commit is contained in:
Nate Prewitt
2017-01-27 11:07:32 -07:00
parent 741e71ac4c
commit 40003ecf54
+2
View File
@@ -262,6 +262,7 @@ def parse_install_output(output):
if r is None:
continue
names.append((r['file'].replace('./.venv/downloads/',''), name))
break
return names
@@ -313,6 +314,7 @@ def get_downloads_info(names_map):
for fname in os.listdir(project.download_location):
# Get display name from filename mapping
click.echo(names_map[fname])
name = list(convert_deps_from_pip(names_map[fname]))[0]
# Get the version info from the filenames.
version = parse_download_fname(fname)