Demonstration of Cython wrapped C++ class.
To compile and wrap using Cython;
See http://docs.cython.org/en/latest/index.html for help getting started with Cython.
- Modify setup.py file to point at your relevant Python installation directories & library.
- In a terminal window navigate to the folder to which FruitJuicer was downloaded.
- Execute; python setup.py build_ext --inplace
- If all is well run the Python script squeeze.py; python squeeze.py
- Observe some output to the terminal window demonstrating what happened; some fruits get squeezed.
(Tested on Windows 10 using Anaconda installation of Python 3.5 and Visual Studio 2015 Community Edition compiler)