On 2 July 2012 17:34, Daniel Holth <dho...@gmail.com> wrote:
> Looks like your biggest Py3 issue is that distribute uses 2to3. "pip
> install -e" of course does not. It works much better otherwise. I put
> in some tiny changes to the other bits to make them work, and I can
> now install Pyramid from wheels on Py3.2.

Ah, so that's what -e is about. I can see that would be a problem,
I'll try a normal install and see how that goes.

> pip recognizes wheels and installs them itself.
> https://github.com/dholth/pip/blob/develop/pip/req.py#L759
>
> It doesn't yet +x scripts or update .dist-info/RECORD to keep track of
> what it should uninstall.

So pip remove won't work right on installed wheels? That would
probably be my #1 issue, in practice, then.

>> 1. wheel discovery and download from PyPI  or local archives (so pip
>> install x will find and download x.whl before/as well as an x sdist)
>> 2. wheel upload to PyPI (probably needs PyPI changes to support the new 
>> format)
>
> Also, we will be moving to urlsafe-b64encoded SHA256 instead of MD5 as
> the hash function.
>
>> 3. converters to allow people to convert eggs and bdist_wininst
>> binaries to wheel format (otherwise you have a chicken-and-egg problem
>> in that wheels are only good for speeding up installs, rather than for
>> installing things you can't build for yourself)
>
> Sure, although IMO egg2wheel is more of a roundabout way to get around
> the "pip doesn't support eggs" issue. Hopefully in most cases the
> maintainer or "someone with a compiler" will run bdist_wheel for you
> when a new version comes out.

Yes, if wheels become the accepted binary format. But I'd expect a
relatively long period when some developers use wheels, but a lot
don't. During that period, converters would be essential to enable end
users to start using wheels, and hence to start the process of pushing
developers to provide wheels.

But certainly converters are an interim measure. (Just an important one IMO).

Paul.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to