Differences
This shows you the differences between two versions of the page.
howto:pz_python_macosx [2013/03/20 17:11] phil created |
howto:pz_python_macosx [2013/03/20 17:13] phil |
||
---|---|---|---|
Line 4: | Line 4: | ||
=== Download SWIG: === | === Download SWIG: === | ||
+ | <code> | ||
curl -O http://ufpr.dl.sourceforge.net/project/swig/swig/swig-2.0.8/swig-2.0.8.tar.gz | curl -O http://ufpr.dl.sourceforge.net/project/swig/swig/swig-2.0.8/swig-2.0.8.tar.gz | ||
tar -xzvf swig-2.0.8.tar.gz | tar -xzvf swig-2.0.8.tar.gz | ||
cd swig-2.0.8 | cd swig-2.0.8 | ||
+ | </code> | ||
=== Download PCRE and build it statically: === | === Download PCRE and build it statically: === | ||
+ | <code> | ||
curl -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.32.tar.gz | curl -O ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.32.tar.gz | ||
+ | |||
Tools/pcre-build.sh | Tools/pcre-build.sh | ||
+ | </code> | ||
=== Building/installing SWIG === | === Building/installing SWIG === | ||
+ | <code> | ||
./configure | ./configure | ||
make | make | ||
sudo make install | sudo make install | ||
+ | </code> | ||
==== How to use Python bindings from PZ (command line version) ==== | ==== How to use Python bindings from PZ (command line version) ==== | ||
+ | <code> | ||
svn checkout http://neopz.googlecode.com/svn/trunk/ neopz | svn checkout http://neopz.googlecode.com/svn/trunk/ neopz | ||
Line 35: | Line 39: | ||
make -j2 | make -j2 | ||
+ | </code> | ||