I have a Python project which depends upon the wsgi_intercept package. I added it to the requires parameter from my setup.py file:
from setuptools import setup
setup( #...
#...
requires = [ 'wsgi_intercept',
# ...
]
)
Then I execute the sdist command:
$ python setup.py sdist upload
However, when I install the package with pip, it does not install wsgi_intercept and my package cannot work correctly.
What am I missing? Should I add another configuration to pip. I read about the pip requirement files but they seem to be used by the deployer, not de distributor.
Looks like the keyword args of distutils.core.setup() are changed. I use install_requires in my setup.py and it works fine.
Change the keyword requires to install_requires and see if it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With