<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 3, 2014 at 8:21 PM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug@doughellmann.com" target="_blank">doug@doughellmann.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">
On Sep 3, 2014, at 11:57 AM, Clark Boylan <<a href="mailto:cboylan@sapwetik.org">cboylan@sapwetik.org</a>> wrote:<br>
> On Wed, Sep 3, 2014, at 08:22 AM, Doug Hellmann wrote:<br>
>><br>
>> On Sep 2, 2014, at 3:17 PM, Clark Boylan <<a href="mailto:cboylan@sapwetik.org">cboylan@sapwetik.org</a>> wrote:<br>
>>> The setup.cfg classifiers should be able to do that for us, though PBR<br>
>>> may need updating? We will also need to learn to upload potentially >1<br>
>><br>
>> How do you see that working? We want all of the Oslo libraries to,<br>
>> eventually, support both python 2 and 3. How would we use the classifiers<br>
>> to tell when to build a universal wheel and when to build separate<br>
>> wheels?<br>
>><br>
> The classifiers provide info on the versions of python we support. By<br>
> default we can build python2 wheel if only 2 is supported, build python3<br>
> wheel if only 3 is supported, build a universal wheel if both are<br>
> supported. Then we can add a setup.cfg flag to override the universal<br>
> wheel default to build both a python2 and python3 wheel instead. Dstufft<br>
> and mordred should probably comment on this idea before we implement<br>
> anything.<br>
<br>
</div></div>OK. I’m not aware of any python-3-only projects, and the flag to override the universal wheel is the piece I was missing. I think there’s already a setuptools flag related to whether or not we should build universal wheels, isn’t there?<br>

</blockquote><div><br></div><div>I think we should rely on wheel.universal flag from setup.cfg if it's there. If it's set, we should always build universal wheels. If it's not set, we should look in specifiers and build wheels for Python versions that are mentioned there.</div>

<div><br></div></div>-- <br><br><div>Kind regards, Yuriy.</div>
</div></div>