On Wed, May 30, 2012 at 5:35 PM, PJ Eby email@example.com wrote:
On Wed, May 30, 2012 at 3:09 PM, Daniel Holth firstname.lastname@example.org wrote:
It looks like you can only install one extra at a time,
Actually, you can specify more than one, using commas. e.g. "easy_install foo[testing,c-extensions,celery-support,...]".
Would we want this to look the same way for pysetup? Something like `pysetup install foo[tests,docs]`? That would be a pretty nice way to handle docs, tests, and other miscellaneous extra requirements. I like the idea of using environment markers for that and not having to add any new metadata fields.
Using an environment marker might also work for some kind of build-requires, though support for that would still require some special machinery.