[Distutils] Multi-version import support for wheel files

Jim Fulton jim at zope.com
Sun Aug 25 18:58:43 CEST 2013


On Sun, Aug 25, 2013 at 3:06 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On 25 August 2013 16:41, Donald Stufft <donald at stufft.io> wrote:
>>
>> On Aug 25, 2013, at 1:57 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>>
>>> [snip]
>>
>> I'll look at this closer, my off the cuff response isn't good but before I
>> commit to a side I want to dig into how it actually works currently.
>
> The clumsiness of the __main__.__requires__ workaround aside, the main
> advantage this offers is that it *should* result in a relatively
> straightforward addition to pkg_resources to make it work with wheel
> files as well as eggs. That's important, because anyone that is
> currently doing side-by-side multi-versioning in Python is using the
> pkg_resources API to do it, since that's the only option currently
> available.

No. It isn't. Buildout doesn't use pks_resources to do it.
(Buildout used pkg_resources at build time to manage package meta
data, but I think that's orthogonal to what you're talking about.)

I'd also hazard to guess that most of the folks with multi-version
installs are using buildout to do it, as buildout does have a
fair number of users.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton


More information about the Distutils-SIG mailing list