[Distutils] Using Wheel with zipimport
Donald Stufft
donald at stufft.io
Wed Jan 29 14:39:50 CET 2014
On Jan 29, 2014, at 8:34 AM, Donald Stufft <donald at stufft.io> wrote:
>
> On Jan 29, 2014, at 8:32 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
>
>> On 29 January 2014 23:31, Donald Stufft <donald at stufft.io> wrote:
>>>
>>> Here's Paul explicitly mentioning that Wheels being used with zip import is
>>> an incidental benefit and not a core feature.
>>>
>>> https://mail.python.org/pipermail/distutils-sig/2013-March/020379.html
>>
>> Donald, I was *there*. I know what we discussed, and I know what PEP I
>> approved. Trying to play gotcha with links *isn't going to work*.
>>
>> Regards,
>> Nick.
>>
>> --
>> Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
>
> If I’m wrong, then by all means show me where it was discussed so I can admit
> I was wrong.
>
> -----------------
> Donald Stufft
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
Ironically, in another thread [1] on distutils-sig we have Daniel Holth, the author of
the PEP stating:
The main reason the packaging format is not explicitly importable is
simply because Python hasn't had "jar-like" deployment for as long or
as consistently as Java. So while Java code universally uses a "get
resource" API to get stuff on the classpath, a a lot of Python code
will try to open a file. C extensions can't be loaded from inside zip
files. And it's a lot harder to edit .py files once they are zipped
up, unlike Java where only the compiled and non-editable .class files
are zipped.
ZIP import is a great feature but wheels aren't really designed for
it. It's more reliable that way.
[1] https://mail.python.org/pipermail/distutils-sig/2014-January/023554.html
-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140129/14b12849/attachment.sig>
More information about the Distutils-SIG
mailing list