[Distutils] Metadata 2.0: Warning if optional features are missing

Michael Merickel mmericke at gmail.com
Tue Dec 15 13:40:42 EST 2015

On Tue, Dec 15, 2015 at 12:30 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> I guess you're saying add [speedups] as a way of requesting a rebuild?
> But if the build fails, would that remove sqlalchemy, or leave the
> existing build there? (I'd hope the latter).

Well in this world of wheels we aren't necessarily building anything
right.. so there's no "rebuild" or "build". We are just unzipping a bdist
and some optional deps. I've seen in the past that a recommended way of
accomplishing this would be to create an sqlalchemy-cext package on pypi
and have sqlalchemy depend on it. This is what I meant with the "cext":
"sqlalchemy-cext" extra. Then people who wanted speedups (most people
obviously) would depend on sqlalchemy[cext]. This example works entirely
within the current framework.

Where I'm at is that it'd be nice if it were extended to support
"recommends" or "default extras" but have some way for the extra to not be
installed on systems that couldn't handle it (via metadata cross-checked
with system/python info).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151215/65818256/attachment.html>

More information about the Distutils-SIG mailing list