[Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout
njs at pobox.com
Sun Aug 21 07:07:24 EDT 2016
On Sun, Aug 21, 2016 at 3:51 AM, Paul Moore <p.f.moore at gmail.com> wrote:
> On 20 August 2016 at 22:31, Nathaniel Smith <njs at pobox.com> wrote:
>> Wheels are a pretty simple and straightforward format. They've got some
>> metadata, and then the are a set of directories with labels attached: "this
>> directory needs to go on sys.path", "this directory has scripts that should
>> have shebang fixups applied and then go on $PATH", etc. (The spec is not
>> long: https://www.python.org/dev/peps/pep-0427/)
>> My first guess at how buildout could handle wheels elegantly would be:
>> - we have one piece of code that abstracts the operation of "please give me
>> a wheel for package X version Y that works on this system".
> This can be abstracted at the moment as "pip wheel <requirement>".
> That will deliver a wheel to the current directory which is exactly
> what is described above.
Or possibly "pip wheel --no-deps <requirement>" or something similar.
Nathaniel J. Smith -- https://vorpus.org
More information about the Distutils-SIG