[Distutils] Bazaar support for setuptools

Phillip J. Eby pje at telecommunity.com
Sat Jul 21 07:02:03 CEST 2007


At 11:24 PM 7/20/2007 -0400, Barry Warsaw wrote:
>Great for testing, thanks.  But um, how /do/ normal users tell
>setup.py to install those extra packages?

Normally, people use install_requires, and the packages get installed 
automatically if you're using setuptools or easy_install.

Meanwhile, if you want to install a package's extras, you just use 
"easy_install foo[bar,baz]" to install package foo with extras bar 
and baz.  "setup.py install" can't and won't ever handle extras.

Please keep in mind, though, that extras are for *optional* 
features.  Your package won't work without bzrlib, so that's not 
really an "extra" and probably shouldn't be defined as such.



More information about the Distutils-SIG mailing list