Re: [Distutils] Best way to handle packaging a project that only applies to certain versions of Python

2016-08-29 Thread Daniel Holth
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. Order of preference on 3.5 is: ('py35', 'none', 'any'),

Re: [Distutils] Best way to handle packaging a project that only applies to certain versions of Python

2016-08-29 Thread Donald Stufft
> On Aug 29, 2016, at 7:34 PM, Brett Cannon wrote: > > Someone has asked that I do a new release of importlib that includes a > LICENSE file on PyPI: https://pypi.org/project/importlib/ > . Historically I have had the setup.py > simply

[Distutils] Best way to handle packaging a project that only applies to certain versions of Python

2016-08-29 Thread Brett Cannon
Someone has asked that I do a new release of importlib that includes a LICENSE file on PyPI: https://pypi.org/project/importlib/. 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:

Re: [Distutils] What is the official position on distutils?

2016-08-29 Thread Brett Cannon
On Sun, 28 Aug 2016 at 16:55 Sylvain Corlay wrote: > Distutils seems to be the de-facto standard for building extension modules > for Python and it is used for most of the third-party extensions out there. > I don’t think that it is reasonable to declare that it is now

[Distutils] setup_requires: the obvious option(?)

2016-08-29 Thread Antony Lee
Hi all, The `setup_requires` option to `setup()` is well-known to suffer from multiple issues. Most importantly, as it is a keyword argument to `setup()`, it appears too late for modules that may need to be imported for the build to occur (e.g., Cython, for which support must explicitly provided

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-29 Thread Maurits van Rees
Op 25/08/16 om 13:57 schreef Donald Stufft: On Aug 25, 2016, at 7:30 AM, Nick Coghlan wrote: On 25 August 2016 at 06:48, Donald Stufft wrote: Ok, I’ve updated the PEP. You can see a diff at https://github.com/python/peps/pull/74/files or the entire