buildPythonPackage: catch_conflicts should ignore pip
This commit is contained in:
parent
dfee078df4
commit
6ba529277a
@ -8,7 +8,8 @@ packages = collections.defaultdict(list)
|
|||||||
for f in sys.path:
|
for f in sys.path:
|
||||||
for req in pkg_resources.find_distributions(f):
|
for req in pkg_resources.find_distributions(f):
|
||||||
if req not in packages[req.project_name]:
|
if req not in packages[req.project_name]:
|
||||||
if req.project_name == 'setuptools':
|
# some exceptions inside buildPythonPackage
|
||||||
|
if req.project_name in ['setuptools', 'pip']:
|
||||||
continue
|
continue
|
||||||
packages[req.project_name].append(req)
|
packages[req.project_name].append(req)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user