Open doronbehar opened 6 years ago
uh.. looks like pip 10 did a major API change. As I've heard, pip integrated a bunch of hacks that was necessary into the project, and changed a bunch of its internals. So I need to check the new better way of doing things and update this :)
I'm open to suggestions/pointers to help me expedite this, as I'm being currently snowed with paying work :)
I'm open to suggestions/pointers to help me expedite this, as I'm being currently snowed with paying work :)
Generally, it is not a good practice to read requirements.txt
from setup.py
and install_requires
should be listed in setup.py
separately from requirements.txt
. There is a really good explanation for this on StackOverflow.
There are three possible solutions:
setup.py
separately from requirements.txt
in a proper way.req
to _internal
, so something like from pip._internal import req
should work. But that is a hack, not a good solution :)install_requires
. Some repos followed this way: example.I would be happy to help to solve this issue (incl. pull request).
What are your thoughts on this?
I pushed PR #191, which fixes this issue
Here is the error:
My
pip --version
is: