<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>There is also the 'python requires' metadata, which can now be provided via setuptools, but I think pip 8.2 needs to be released before that is respected.</div>
<div><br></div>
<div><br></div>
<div>On Tue, Aug 30, 2016, at 01:08 AM, Daniel Holth wrote:<br></div>
<blockquote type="cite"><p dir="ltr">Let's say you have different code for python 3.3 and python 3.4+. Tag one wheel py33-none-any and the second py34-none-any. The second wheel is preferred on python 3.4 and above, but ignored by 3.3. The py3 tag wouldn't work well here.<br></p><p dir="ltr">Order of preference on 3.5 is: ('py35', 'none', 'any'), ('py3', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')<br></p><p dir="ltr">Enscons would let you control the wheel tag directly but doesn't yet let you build multiple wheels with a single invocation.<br></p><div><br></div>
<div defang_data-gmailquote="yes"><div dir="ltr">On Mon, Aug 29, 2016, 19:46 Donald Stufft <<a href="mailto:donald@stufft.io">donald@stufft.io</a>> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;" defang_data-gmailquote="yes"><div style="word-wrap:break-word;"><div><br></div>
<div><blockquote type="cite"><div>On Aug 29, 2016, at 7:34 PM, Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br></div>
<div><br></div>
<div><div dir="ltr"><div>Someone has asked that I do a new release of importlib that includes a LICENSE file on PyPI: <a href="https://pypi.org/project/importlib/">https://pypi.org/project/importlib/</a>. Historically I have had the setup.py simply not include any Python code when built on versions of Python that include importlib in the stdlib itself: <a href="https://github.com/brettcannon/importlib/blob/master/setup.py">https://github.com/brettcannon/importlib/blob/master/setup.py</a> .<br></div>
<div><br></div>
<div>But now I would like to do a wheel. Is there some way I'm not thinking of to have a wheel that will leave out code or not install itself if a certain version of Python is used? Or will the user have to specify a proper Python requirement in their requirements.txt to get that kind of experience?<br></div>
</div>
<div>_______________________________________________<br></div>
<div>Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br></div>
<div><a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br></div>
</div>
</blockquote></div>
<div><br></div>
</div>
<div style="word-wrap:break-word;"><div>If your setup.py produces different output on different versions of Python, you’ll need multiple wheels.<br></div>
<div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;"><div><br></div>
<div>—<br></div>
</div>
</div>
</div>
<div style="word-wrap:break-word;"><div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;"><div><br></div>
<div>Donald Stufft<br></div>
</div>
</div>
</div>
<div>_______________________________________________<br></div>
<div> Distutils-SIG maillist  - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br></div>
<div> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br></div>
</blockquote></div>
<div><u>_______________________________________________</u><br></div>
<div>Distutils-SIG maillist  - <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br></div>
<div><a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br></div>
</blockquote></body>
</html>