[Distutils] draft PEP: manylinux1

Leonardo Rochael Almeida leorochael at gmail.com
Thu Jan 21 08:30:05 EST 2016

Hi Nathaniel and Robert,

This is a really nice proposal.

I would only like to see added to this proposal (or another one) that new
versions of installers should offer an option to opt in or out of binary
packages from specific sources.

Right now pip has the switches:

   - --no-binary <format_control>
   - --only-binary <format_control>

These switches (dis)allow downloading binaries for specific packages.

I think it would be nice to have the following options as well:

   - --no-binary-from <origin_control>
   - --only-binary-from <origin_control>

This way I could block binaries from PyPI but allow from my private index
where they were compiled with my favorite compiler or on the closest
platform possible to my production, or with my favorite compilation flags
present in the environment.

As Robert quoted, the "speed and correctness implications to always
reverting to the lowest common denominator of glibc." will result in some
deployments preferring to set up their own indexes or "find-links"
repositories for storing optimized binary packages while allowing PyPI to
provide the rest.

Alternatively, the `<format_control>` specification above could be expanded
to allow not only specifying package names, but package names with their
respective sources.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160121/5a867ba6/attachment.html>

More information about the Distutils-SIG mailing list