Re: [Distutils] python setup.py develop and extras
> If you want a one-liner try pip install -e . pyramid[docs,testing] > this works too: pip install -e .[docs,testing] (from inside the pyramid project dir) and the extras come from the local setup.py Marcus ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] python setup.py develop and extras
On Fri, Nov 23, 2012 at 2:53 PM, Chris Withers wrote: > 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 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] >>> >>> If you're still looking for an answer, pretty much all you can do for that is: "setup.py develop easy_install pkgname[docs,testing]". You can shorten it by defining an generic alias for "develop easy_install" in your global or user distutils .cfg, or a project-specific alias for "develop easy_install pkgname" in the project's setup.cfg. ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] python setup.py develop and extras
On 2012-11-23 19:53:31 +, 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 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/ ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] python setup.py develop and extras
On 06/11/2012 15:13, Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/06/2012 06:47 AM, Chris Withers 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] FWIW, we lost this argument a while back Who was the argument with and where? Smells rather brown to me... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] python setup.py develop and extras
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 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... :-( Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig