Skip to content
nlehuen edited this page Sep 13, 2010 · 2 revisions

Building under Linux

cd $TST_ROOT/python
python setup.py build

To install, as root :

cd $TST_ROOT/python
python setup.py install

Building under Windows

  1. Install MinGW. I manage to build all versions of pytst for all current versions of Python (from 2.3 to 2.7) with MinGW. This is much more difficult/expensive to achieve using Microsoft’s compilers.
  2. Make sure you can build Python extensions with MinGW. This involves a gymnastic with pexports and dlltool mentioned here
  3. Use python setup.py as usual or launch build.bat (which contains a call to SWIG to regenerate the wrapper).
Clone this wiki locally