[Distutils] Time for a setuptools_lite??
Brett Cannon
brett at python.org
Thu Oct 22 12:53:52 EDT 2015
On Wed, 21 Oct 2015 at 10:17 Paul Moore <p.f.moore at gmail.com> wrote:
> On 21 October 2015 at 17:42, Chris Barker <chris.barker at noaa.gov> wrote:
> > So why not have a setuptools-lite that only does the building? We need to
> > keep the full over-burdened setuptools around, because lot sof folks are
> > using those features. But for those of us that are doing something fairly
> > new, and don't want to use stuff that setuptools "shouldn't" be doing,
> I'd
> > love to have a setuptools-lite that only did what I really need, and was
> > guaranteed NOT to accidentally introduce easy_install, etc...
>
> In general, this sounds like a reasonable idea. But, there are the
> usual problems:
>
> 1. Someone needs to do the work.
> 2. Backward compatibility (as in, there's bound to be some projects
> out there using whatever functionality you can think of that "nobody
> would ever need"...)
>
> And a third issue specific to this idea.
>
> 3. You can't call it setuptools, and pip "injects" the real setuptools
> into projects when building/installing. Pretending to be setuptools
> was what made distribute such a PITA to deal with, and I don't imagine
> we'd ever want to go there again.
>
> Sorry, I'm being a downbeat grump today. The reality is that far and
> away the best shot we've had at getting out of this mess is the plan
> we're currently working to, which is to standardise interfaces, and
> once we have some standards, we can start decoupling the various bits
> and *then* replacing them as needed. We need people working on that in
> the first instance, work is currently stalled by lack of time from the
> key participants. So anyone with energy for moving this whole area
> forward would be really welcome to help out with the interoperability
> standards (metadata 2.0, defining a sdist format, pinning down pip's
> interfaces to build systems, things like that). But if you want to
> rework the existing toolset, you're probably going to be on your own
> (and there's unfortunately a risk that you'll pull attention away from
> other work via debates on this list etc).
>
> I really appreciate the enthusiasm we're seeing from people on the
> list at the moment, it's a matter of harnessing that into the right
> direction. As a thought, does anyone feel like working on an
> "interoperability standards roadmap" that provides a reference for
> where the PyPA see things going? It would be useful to keep focus, but
> the information's currently scattered about various mailing lists and
> discussions - some of the posts around the recent "new source
> distribution format" threads might be a good place to start.
>
Would it makes sense to start a roadmap doc/repo under the PyPA account so
the current grand vision is written down in a very high-level overview and
then what the issues needing solving for each bit are along with any
in-progress work are kept in a single place (I don't care if this is one
big doc or there is the overview doc and then an individual doc per part of
the grand vision)? Putting it up on GitHub allows for quick PRs on some
Markdown doc that people can do quickly after an email thread reaches some
form of a conclusion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151022/9ab5cfba/attachment-0001.html>
More information about the Distutils-SIG
mailing list