![]() |
Previous releases of FXPy used an older and error-prone method for building Python extensions. Starting with version 0.99.131, FXPy uses a new Distutils-based build process which is much more straightforward. |
To build FXPy from the sources, change to the top-level directory and take a look at the setup.py
script and make sure the settings look appropriate for your installation. In particular, take a look at the first few lines
which specify the location of the FOX library header files and library and modify these if necessary.
Once you're satisfied that the settings are correct, type:
python setup.py build
After it's finished building, you can install FXPy by typing:
python setup.py install
Note that by default, the code will be installed alongside your Python installation and you may need super-user permissions to pull this off. If you would prefer to install FXPy to a different location, type:
python setup.py install --prefix=[prefix]