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
Hello,
you have to unzip it by your application on the client side. But why you
do not make a exe from your python source, e.g. with
http://www.py2exe.org/. I made it in a similar way already with perl and
it was much easier than copy the whole perl installation to the client
and keeping all libs
The two problems with py2exe are that it only works with windows and
that it doesn't support the BOINC API.
Did you find some way around these issues in your project?
--
Jeremy
On 7/14/09, yoyo y...@mailueberfall.de wrote:
Hello,
you have to unzip it by your application on the client side.
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 jeremy.cow...@gmail.com
escribió:
I am trying to package the Python standard library with an
application.
I assume zipping it
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 nicolas.alva...@gmail.com
You don't need to unzip. Python supports
El Martes 14 Jul 2009 12:10:38 Carl Christensen escribió:
well since presumably you can't use boinc_zip I guess either distribute
zip/unzip executables for each platform, or use the zipfile module for
python (does that get back to the problem of using various python libs
within boinc though?)
I have only experience with Perl. There all used modules are included in
the binary e.g. also Oracle db client to access a Oracle db.
Jeremy Cowles wrote:
The two problems with py2exe are that it only works with windows and
that it doesn't support the BOINC API.
Did you find some way around
Nicolas, that's what I thought originally (that it was using the
zipfile module), but the PEP implies that it's using the InfoZip
library directly from C and that zipimport is functional before the
std library loads.
If it used the zipfile module, it would need a handful of other
modules (like