[Distutils] setuptools extras_require

Elvelind Grandin elvelind at gmail.com
Tue Dec 12 16:32:17 CET 2006


Or use a magic extra name like "default" which is used if no other
extra is selected.

On 12/11/06, Elvelind Grandin <elvelind at gmail.com> wrote:
> 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?
> >
> >
>
>
> --
> cheers
>     elvelind grandin
>


-- 
cheers
    elvelind grandin


More information about the Distutils-SIG mailing list