[Distutils] setuptools extras_require

Elvelind Grandin elvelind at gmail.com
Mon Dec 11 22:44:53 CET 2006

Not really

extras_require = {
        'PDF':  ["ReportLab>=1.2", "RXP"],
extras_exclude = {
        'PDF': ["Foo"],

might work. even if it's not that pretty.

On 12/10/06, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 08:28 PM 12/10/2006 +0100, Elvelind Grandin wrote:
> >Is there any way to exclude packages in extras_require as opposed to
> >just include them. In Turbogears we have Sqlobject in by default. but
> >if the extra "future" is used it should drop SO and install sqlalchemy
> >instead.
> Not currently, no.  Do you have any suggestions as to how this might be
> spelled in the requirements API?

    elvelind grandin

More information about the Distutils-SIG mailing list