- Boost (version >= 1.3.2)
- Python (version >= 2.2)
- A C++ compiler for your platform, e.g. GCC or MinGW
- Cmake [optional]
Installing boost.python:
brew install cmake boost-python
(If using Cmake)brew install boost-python3
- Set the BOOST_ROOT environment variable if Boost is installed in a non-standard directory
- Create a build directory:
mkdir build
cd build
- run
cmake ..
and afterwardsmake
Run the python file with .py extension.