pip 10.X+ has moved the module pip.req to pip._internal.req, which causes setup.py to fail for pip 10.X+ on this include:
from pip.req import parse_requirements
Causes the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File ".../django-crowd-auth/setup.py", line 4, in <module>
from pip.req import parse_requirements
ImportError: No module named 'pip.req'
pip 10.X+ has moved the module
pip.req
topip._internal.req
, which causessetup.py
to fail for pip 10.X+ on this include:Causes the following error:
https://github.com/pmuller/django-crowd-auth/blob/master/setup.py#L4
Additionally, the
parse_requirements
function is not used as far as i can tell, so it seems this entire import can be removed.