python - Does pip handle extras_requires from setuptools/distribute based sources? -
i have package "a" setup.py , extras_requires line like:
extras_require = { 'ssh': ['paramiko'], }, and package "b" depends on util:
install_requires = ['a[ssh]'] if run python setup.py install on package b, uses setuptools.command.easy_install under hood, extras_requires correctly resolved, , paramiko installed.
however, if run pip /path/to/b or pip hxxp://.../b-version.tar.gz, package installed, paramiko not.
because pip "installs source", i'm not quite sure why isn't working. should invoking setup.py of b, resolving & installing dependencies of both b , a.
is possible pip?
this suppported since pip 1.1, released in february 2012 (one year after question asked).
Comments
Post a Comment