mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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 req in pkg_resources.find_distributions(f):
|
||||
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
|
||||
packages[req.project_name].append(req)
|
||||
|
Loading…
Reference in New Issue
Block a user