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 useinstall_requiresin mysetup.pyand it works fine.Change the keyword
requirestoinstall_requiresand see if it works.