Re: [Distutils] cffi & Py_LIMITED_API

2016-08-20 Thread Nick Coghlan
On 21 August 2016 at 10:32, Daniel Holth wrote: > Coded up in https://bitbucket.org/pypa/wheel/pull-requests/69 and > https://github.com/pypa/pip/pull/3922 and supported in setuptools 26. > > It's a multi-step process, unfortunately, but if you do it correctly then > you should

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Nick Coghlan
On 21 August 2016 at 08:40, Chris Barker - NOAA Federal wrote: >> >> If we're going through all this trouble, isn't it better just to jump to >> .zip files like every other distribution format in existence? > > Yes. :-) zip is popular for *user facing* distribution

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Nick Coghlan
On 21 August 2016 at 05:46, Jim Fulton wrote: > On Sat, Aug 20, 2016 at 3:02 PM, Nick Coghlan wrote: >> > I have the impression that uninstalling things can be >> > problematic, but maybe that's been fixed. >> >> Uninstallation is fine, as we *do* have a

Re: [Distutils] cffi & Py_LIMITED_API

2016-08-20 Thread Daniel Holth
Coded up in https://bitbucket.org/pypa/wheel/pull-requests/69 and https://github.com/pypa/pip/pull/3922 and supported in setuptools 26. It's a multi-step process, unfortunately, but if you do it correctly then you should need a lot fewer wheels: 0. Use only the functions from the limited api,

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Daniel Holth
I don't think we are defining a new file type today. On Sat, Aug 20, 2016 at 8:03 PM Wes Turner wrote: > > > On Saturday, August 20, 2016, Brett Cannon wrote: > >> On Fri, 19 Aug 2016 at 12:53 Donald Stufft wrote: >> > >>> >>> Oh, and

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Wes Turner
On Saturday, August 20, 2016, Brett Cannon wrote: > > > On Fri, 19 Aug 2016 at 12:53 Donald Stufft > wrote: > >> >> >> Oh, and TIL that anyone who has Python 3.4+ installed has a command line >> tool for

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Chris Barker - NOAA Federal
> > If we're going through all this trouble, isn't it better just to jump to .zip > files like every other distribution format in existence? Yes. :-) -CHB ___ Distutils-SIG maillist - Distutils-SIG@python.org

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Wes Turner
On Saturday, August 20, 2016, Nathaniel Smith wrote: > On Aug 20, 2016 11:00 AM, "Jim Fulton" > wrote: > > > [...] > > With buildout, I chose to use eggs differently. I simply generate > scripts with

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Wes Turner
On Saturday, August 20, 2016, Daniel Holth wrote: > We have manifests before and after in wheel but good conflict management > is still theoretical. I think someone had a prototype years ago. For > example checking checksums on uninstall and maybe not uninstalling modified >

Re: [Distutils] Proposed new Distutils API for compiler flag detection (Issue26689)

2016-08-20 Thread Sylvain Corlay
Hi Ralf, On Sat, Aug 20, 2016 at 11:42 PM, Ralf Gommers wrote: > >> On python-dev and in the bug tracker, Sylvain has understandably asked >> for a review with an eye to adding this new feature to Python 3.6 whose >> feature code cutoff is scheduled for a few weeks from

Re: [Distutils] Proposed new Distutils API for compiler flag detection (Issue26689)

2016-08-20 Thread Ralf Gommers
On Sat, Aug 20, 2016 at 8:33 AM, Ned Deily wrote: > Some months ago, Sylvain brought up a couple of proposals for Distutils. > The second proposal received some discussion but it appears that the first > one got lost. Here it is: > > > From sylvain.corlay at gmail.com Wed May

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Nathaniel Smith
On Aug 20, 2016 11:00 AM, "Jim Fulton" wrote: > [...] > With buildout, I chose to use eggs differently. I simply generate scripts with dependencies explicitly listed in the Python path. This is very easy to reason about. It makes it easy to see what's installed by looking

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Daniel Holth
We have manifests before and after in wheel but good conflict management is still theoretical. I think someone had a prototype years ago. For example checking checksums on uninstall and maybe not uninstalling modified [configuration] files. On Sat, Aug 20, 2016, 15:47 Jim Fulton

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Jim Fulton
On Sat, Aug 20, 2016 at 3:02 PM, Nick Coghlan wrote: ... > I have the impression that uninstalling things can be > > problematic, but maybe that's been fixed. > > Uninstallation is fine, as we *do* have a full file manifest after a > component has been installed. > So, if

Re: [Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Nick Coghlan
On 21 August 2016 at 04:00, Jim Fulton wrote: > These really weren't goals of setuptools, which tried to fit into > site-package-based installs and ironically resorted to unsavory techniques > to wedge eggs in using elaborate .pth files. Right, and pip took that approach

[Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

2016-08-20 Thread Jim Fulton
Buildout was designed to automate project development and deployment tasks. This encompasses assembly of software packages (Python, JavaScript, etc.) and generation of support artifacts such as configuration files and scripts. I never set out to make buildout a Python package installer. I

Re: [Distutils] Future of setuptools and buildout

2016-08-20 Thread David Cournapeau
On Sat, Aug 20, 2016 at 6:30 PM, Nick Coghlan wrote: > On 20 August 2016 at 02:46, Chris Barker wrote: > > Maybe the alternative to setuptools_lite is to set up one of these other > > tools to work well (easily) for building python packages. If it can

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Nick Coghlan
On 21 August 2016 at 02:33, Brett Cannon wrote: > On Fri, 19 Aug 2016 at 12:53 Donald Stufft wrote: > So I think you're both right, but at different time scales. :) I think > Donald is right that the short-term time scale of "now" by suggesting we > just go

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Jim Fulton
On Tue, Aug 16, 2016 at 11:15 AM, Leonardo Rochael Almeida < leoroch...@gmail.com> wrote: ... > A wheel2egg might be nice, but unless it's integrated into setuptools > proper, it would mean adding another dependency to buildout and the > developers would rather depend on a single library for

Re: [Distutils] Future of setuptools and buildout

2016-08-20 Thread Nick Coghlan
On 20 August 2016 at 02:46, Chris Barker wrote: > Maybe the alternative to setuptools_lite is to set up one of these other > tools to work well (easily) for building python packages. If it can do > everything that setuptools can do (that we want setuptools to do), and just

Re: [Distutils] Deprecating little used file types/extensions on PyPI?

2016-08-20 Thread Brett Cannon
On Fri, 19 Aug 2016 at 12:53 Donald Stufft wrote: > > On Aug 19, 2016, at 2:00 PM, Leonardo Rochael Almeida < > leoroch...@gmail.com> wrote: > > ure, more people will be affected this way than just the folks releasing > on Windows, but given the shortcuts for setting the sdist