[Distutils] Pypi to enforce wheel, python3 - is it possible?
Chris Barker
chris.barker at noaa.gov
Wed Nov 5 18:31:00 CET 2014
no, wheels should not be required -- encourage, absolutely, but required,
no.
> My experience so far tells me otherwise. Our of 7 or so libraries that I
> tried to convert to wheel files that salt stack depends on only 2 were
> using setuptools, others were using distutils and had sometimes quite big
> setup.py files and were not compiling out of the box, and frankly I have no
> idea how I can create a wheel from a setup.py file that is taking 10
> screens to scroll and not using the packager that is supporting wheel and
> has dependencies on some C stuff.
>
Exactly -- some stuff is hard to build -- period, end of story. Ideally,
everyone would make binary wheels for al platforms for these, but even that
is next to impossible universally (see the conda package manger -- it's
been developed for a reason).
So should we say: if you haven't made a wheel out of it, it can't be on
PyPi? that seems like abad idea overall.
Also -- if wheels were required, what versions/platforms etc. would be
required? That's a rabbit hole we should avoid!
> It is usually pretty easy to build from sdist. Wheels are convenient but I
>> don't think they should be required.
>>
> Actually, if it's easy to build from sdist, then it's easy to make wheels
;-)
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20141105/0b42fa45/attachment.html>
More information about the Distutils-SIG
mailing list