[Distutils] 'setup.py develop' w/ extras?

P.J. Eby pje at telecommunity.com
Mon Aug 23 20:29:02 CEST 2010


At 10:44 AM 8/23/2010 -0700, Sridhar Ratnakumar wrote:
>I use the 'develop' command instead of 'install' as it does not copy 
>the source files to site-packages, and I can continue developing on 
>the working copy .. thanks to .egg-link. My project also has 
>'extras' dependencies. Is there a way to get these dependencies 
>installing automatically with the develop command?

You could add 'MyProject[extra1,...]' to your install_requires, but 
you'd need to remember to take them back *out* later.  ;-)

>None of the options that 'setup.py develop' takes seem to be 
>applicable to the extra dependencies.

I suppose I could add an --extras option in 0.7.  Patches welcome.  ;-)



More information about the Distutils-SIG mailing list