[Distutils] If you want wheel to be successful, provide a build server.
Christopher Baines
mail at cbaines.net
Wed May 25 09:50:13 EDT 2016
On 25/05/16 09:13, Thomas Güttler wrote:
> If you want wheel to be successful, **provide a build server**.
>
> Quoting the author of psutil:
>
> https://github.com/giampaolo/psutil/issues/824#issuecomment-221359292
>
> {{{
> On Linux / Unix the only way you have to install psutil right now is via
> source / tarball. I don't want to provide wheels for Linux (or other
> UNIX platforms). I would have to cover all supported python versions (7)
> both 32 and 64 bits, meaning 14 extra packages to compile and upload on
> PYPI on every release. I do that for Windows because installing VS is an
> order of magnitude more difficult than installing gcc on Linux/UNIX but
> again: not willing to do extra work on that front (sorry).
> What you could do is create a wheel yourself with python setup.py build
> bdist_wheel by using the same python/arch version you have on the
> server, upload it on the server and install it with pip.
> }}}
>
> What do you think?
This is something best left to operating systems/package managers, e.g.
Debian, Ubuntu, Fedora, RedHat, Guix(SD), Nix(OS). Contrary to the quote
above, I believe psutil is available from all of the projects above (in
a binary and source format).
These projects have the expressiveness to reason about packages that are
not just pure Python (e.g. that depend on GCC), and the software and
infrastructure (e.g. build servers) to manage this.
In my mind providing a build server is just not in scope for Python, or
PyPI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160525/5fcd340b/attachment-0001.sig>
More information about the Distutils-SIG
mailing list