Re: [Distutils] python setup.py develop and extras
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] cheers, 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 Nov 6, 2012, at 6:47 AM, Chris Withers ch...@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] cheers, 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
-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 and worked around it in Pyramid, zope.*, and repoze.*. the 'dev' and 'docs' aliases[1] do what you want: $ python setup.py dev docs []1 defined in 'setup.cfg' Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCZKSwACgkQ+gerLs4ltQ6R+wCg2qqDm8K2S55XKxAIr6wuP9Ux XFMAoLhldG170K9DS39siHCQLtpbTrck =aJs8 -END PGP SIGNATURE- ___ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig