[Distutils] python setup.py develop and extras

Alex Clark aclark at aclark.net
Fri Nov 23 21:27:21 CET 2012


On 2012-11-23 19:53:31 +0000, Chris Withers said:

> On 07/11/2012 18:36, Chris Withers wrote:
>> On 06/11/2012 12:23, Daniel Holth wrote:
>>> On Nov 6, 2012, at 6:47 AM, Chris Withers<chris at python.org> wrote:
>>> 
>>>> On 05/11/2012 20:32, Daniel Holth wrote:
>>>>> Extras are just an alias for a set of dependencies. After you run
>>>>> setup.py develop on package, just "pip install package[docs,testing]"
>>>> 
>>>> it's pyramid, and I want to do setup.py develop [docs,testing]
>>> 
>>> It's no longer fashionable to have a project's build script reach out
>>> and install its own dependencies. If you want a one-liner try pip
>>> install -e . pyramid[docs,testing]
>> 
>> Says who? What are we supposed to do instead now?
> 
> Hmm, no answers then...


That's because the original question is too vague to answer. Setuptools 
extras are defined here:

- 
http://packages.python.org/distribute/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies 


What do you want the answer to be? (A serious question.)



> 
> :-(
> 
> Chris


-- 
Alex Clark · https://www.gittip.com/aclark4life/




More information about the Distutils-SIG mailing list