[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-distutils-sig
Subject:    Re: [Distutils] Pypi to enforce wheel, python3 - is it possible?
From:       Chris Barker <chris.barker () noaa ! gov>
Date:       2014-11-05 17:31:00
Message-ID: CALGmxEK2J_jmBUW7QGyT7dx8kt3pKz3BVPxJFQTmA2f-RNp-UA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@noaa.gov

[Attachment #5 (text/html)]

<div dir="ltr">no, wheels should not be required -- encourage, absolutely, but \
required, no.<div class="gmail_extra"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><p dir="ltr">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.</p></blockquote><div>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&#39;s \
been developed for a reason).</div><div><br></div><div>So should we say: if you \
haven&#39;t made a wheel out of   it, it can&#39;t be on PyPi? that seems like abad \
idea overall.  </div><div><br></div><div>Also -- if wheels were required, what \
versions/platforms etc. would be required? That&#39;s a rabbit hole we should \
avoid!</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">It is usually pretty \
easy to build from sdist. Wheels are convenient but I don&#39;t think they should be \
required.</p></blockquote></div></div></div></blockquote><div>Actually, if it&#39;s \
easy to build from sdist, then it&#39;s easy to make wheels \
;-)</div><div><br></div><div>-Chris</div><div><br></div></div><div><br></div>-- \
<br><div class="gmail_signature"><br>Christopher Barker, \
Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&amp;R        \
(206) 526-6959     voice<br>7600 Sand Point Way NE     (206) 526-6329     \
fax<br>Seattle, WA   98115           (206) 526-6317     main reception<br><br><a \
href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div> \
</div></div>



_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic