Nicholas, I just read the zipimport PEP and according to the spec, zipimport
should be available *before* loading site.py and works by using infozip --
so you are right, there's no reason to unzip at all. So I must be doing
something wrong in the way I'm zipping the library.


2009/7/14 Jeremy Cowles <[email protected]>

> Nicolas: yes, but I couldn't get it to work when the standard library
> wasn't present.  Perhaps I did something wrong, I will take another look.
> Carl: boinc_zip is exactly what I was looking for.
>
>
> 2009/7/14 Nicolás Alvarez <[email protected]>
>
> You don't need to unzip. Python supports reading modules from inside a zip
>> archive since 2.3.
>>
>> Enviado desde mi iPod
>>
>> El 14/07/2009, a las 04:01, Jeremy Cowles <[email protected]>
>> escribió:
>>
>>  I am trying to package the Python standard library with an application.
>>>
>>> I assume zipping it is the best way to go about this. So once zipped,
>>> does
>>> BOINC provide a mechanism for unzipping files on the client side or is
>>> this
>>> something that has to be done by the app?
>>>
>>> --
>>> Jeremy
>>> _______________________________________________
>>> boinc_dev mailing list
>>> [email protected]
>>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
>>> To unsubscribe, visit the above URL and
>>> (near bottom of page) enter your email address.
>>>
>>
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to