[Distutils] setuptools extras_require

Jorge Vargas jorge.vargas at gmail.com
Tue Dec 12 16:55:23 CET 2006


On 12/12/06, Elvelind Grandin <elvelind at gmail.com> wrote:
> Or use a magic extra name like "default" which is used if no other
> extra is selected.
umm if we make that a list then it could work, it could even be used
to get template engines.
>
> 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
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>


More information about the Distutils-SIG mailing list