Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-19 20:44:45 -04:00
parent 819361213d
commit f6b2c7dbbd
+1 -1
View File
@@ -103,7 +103,7 @@ def best_matches_from(path, which, which_pip, project):
if line.startswith('Installed'):
result = line[len('Installed '):].strip()
setup_py_path = os.path.abspath(os.sep.join([result, 'setup.py']))
setup_py_path = os.path.abspath(os.sep.join([(result or ''), 'setup.py']))
return list(gen(setup_py_path, which))