[Distutils] setuptools: extras_require
Ian Bicking
ianb at colorstudy.com
Thu Jul 14 05:05:04 CEST 2005
Phillip J. Eby wrote:
> At 02:27 AM 7/13/2005 -0500, Ian Bicking wrote:
>
>> I can't see any way to get extras_require to be installed, unless some
>> other package indicates an extra feature in the package that needs to be
>> supported.
>>
>> For example, if you want HTTP support in Paste, you can install
>> WSGIUtils. But this isn't required. How can I get WSGIUtils installed?
>
>
> Assuming the "extra" in Paste is "HTTP", you would use:
>
> easy_install Paste[HTTP]
>
> Even if Paste itself is already installed, this will ensure that
> anything in extras_require['HTTP'] gets installed too.
How can I do this if I have an unpacked version of Paste on disk? I can
install that with "easy_install.py .", but I can't do "easy_install.py
.[HTTP]". Is there a way to install the dependencies with setup.py?
"python setup.py depends" doesn't do much of anything.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list