lxml + numpy (on OS X PPC but not only)
Hi everyone,
In order to provide out of the box python functionality on OS X for the upcoming 0.46 release, we'll bundle the python packages Inkscape uses in all flavors (i.e. ppc and intel, for every version of python). I would need someone who has these packages installed to send them to me: - lxml and numpy ppc with python 2.4.* - lxml and numpy ppc with python 2.5.* These two versions of python are *not* the one shipped with Mac OS X Panther or Tiger. They are typically obtained via MacPorts, Fink or the binary distribution of Python for Mac. MacPorts versions are in / opt/local/Framework/Python/.../lib/site-packages. Versions for the binary distribution of python are probably somewhere in /usr/local or in /Library/Frameworks/Python.framework/2.4/. I am looking for two directories in site-packages, unsurprisingly named lxml and numpy.
If no-one has them already it would be really nice if someone could compile them for me on a PPC machine. This is really simple: - download lxml and numpy (from their respective homes, google is your friend ;)) - decompress them (usually already done for you) - in terminal sudo python setup.py install - go fetch the directories where they where installed (check the latest terminal messages), zip them and contact me.
Thanks in advance.
PS for the more knowledgeable around here: I am acting under the assumption that packages such as lxml and numpy are incompatible between point versions of Python (2.3 vs 2.4 vs 2.5), which is what I read somewhere. If someone has indication that this is not true, it would be very nice to point my mistake: things would be simpler and Inkscape won't grow too fat if we can just ship one version of the packages (the sum of all pyton packages will probably be around 70Mb, compared to the 80Mb of Inkscape itself, it seems a bit overkill...).
JiHO --- http://jo.irisson.free.fr/
jiho wrote:
PS for the more knowledgeable around here: I am acting under the assumption that packages such as lxml and numpy are incompatible between point versions of Python (2.3 vs 2.4 vs 2.5), which is what I read somewhere. If someone has indication that this is not true, it would be very nice to point my mistake: things would be simpler and Inkscape won't grow too fat if we can just ship one version of the packages (the sum of all pyton packages will probably be around 70Mb, compared to the 80Mb of Inkscape itself, it seems a bit overkill...).
Libraries with any compiled code (such as lxml which interfaces with libxml2) are incompatible between versions of Python. Python byte code is also incompatible between versions of Python. But pure Python libraries such as our inkex.py shipped without being compiled into byte code are not incompatible except for possible syntax variations.
Aaron
On 2007-December-11 , at 15:49 , Aaron Spike wrote:
jiho wrote:
PS for the more knowledgeable around here: I am acting under the assumption that packages such as lxml and numpy are incompatible between point versions of Python (2.3 vs 2.4 vs 2.5), which is what I read somewhere. If someone has indication that this is not true, it would be very nice to point my mistake: things would be simpler and Inkscape won't grow too fat if we can just ship one version of the packages (the sum of all pyton packages will probably be around 70Mb, compared to the 80Mb of Inkscape itself, it seems a bit overkill...).
Libraries with any compiled code (such as lxml which interfaces with libxml2) are incompatible between versions of Python. Python byte code is also incompatible between versions of Python. But pure Python libraries such as our inkex.py shipped without being compiled into byte code are not incompatible except for possible syntax variations.
Thanks Aaron by the way. lxml and numpy have compiled code so we'll need to ship version for all python installs. A pain... Anyway, we don't pay for bandwidth, do we ;)
Anyone on a PPC machine a little spare time to install those python things and send them to me?
JiHO --- http://jo.irisson.free.fr/
participants (2)
-
Aaron Spike
-
jiho