[Distutils] tourist here, with a dumb RTFM question
Donald Stufft
donald at stufft.io
Thu Mar 6 22:24:01 CET 2014
> On Mar 6, 2014, at 4:15 PM, Marcus Smith <qwcode at gmail.com> wrote:
>
>
>
>
>> On Thu, Mar 6, 2014 at 10:37 AM, Michael Bayer <mike_mp at zzzcomputing.com> wrote:
>>
>> On Mar 6, 2014, at 1:07 PM, Daniel Holth <dholth at gmail.com> wrote:
>>
>> > pje said:
>> >
>> > The "Feature()" facility was never completely implemented or
>> > supported, and even if it were, it should be deprecated now, as it
>> > will not be compatible with the coming packaging systems based on PEP
>> > 426. If you need separate features, use separate distributions and
>> > "extras" instead.
>>
>> wait, ok this is that thing. “separate distributions” means….
>>
>>
>> SQLAlchemy-0.9.3-nocext.tar.gz
>> SQLAlchemy-0.9.3-cext.tar.gz
>
> I'm new to understanding setuptools "Feature" myself, so don't crank too much, if I get anything wrong.
>
> afaik, it means something like:
>
> SQLAlchemy-X.Y.tar.gz
> SQLAlchemy-cext-X.Y.tar.gz
>
> i.e. isolating the feature into a separate project.
>
> and then instead of having the handy "--with-cext" option, it has to be "pip install SQLAlchemy[SQLAlchemy-cext]
>
This is my understanding as well except it inverses the default. SQLAlchemy wants the C exts installed unless they can't be if the user opts out. Extras would cause if to not be installed unless the user opts in. This is probably not a reasonable solution.
One note if could just be SQLAlchemy[cext]
> PJ, Jason: can you clarify what the alternative is supposed to look like?
>
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140306/ff2384ad/attachment.html>
More information about the Distutils-SIG
mailing list