On 2012-11-05 06:33:45 +0000, Chris Withers said:

Hi All,

If I'm doing:

python setep.py develop --allow-hosts=pypi.python.org

...to install a checkout of a package into a virutalenv, how do I
specify what extras (docs,testing in this case) I'd like?


In setup.py, you can do:

install_requires=[
 'foo[bar]',
]

where "bar" is the name of the extras_require, not sure if that helps you or not.




cheers,

Chris


--
Alex Clark ยท https://www.gittip.com/aclark4life/


_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to