- cDeepCL.pxd contains the definitions of the underlying DeepCL c++ libraries classes
- PyDeepCL.pyx contains Cython wrapper classes around the underlying c++ classes
- setup.py is a setup file for compiling the
PyDeepCL.pyxCython file
If you want to modify the python wrappers, you'll need to re-run Cython. This is no longer handled by setup.py, but is handled by the cmake build. So, to run cython you'll need to:
- install Cython, eg
pip install cython - follow the instructions for the native build, Build.md
- when you open
ccmake:- enable option
Maintainer options, then pressc/configure - enable
BUILD_PYTHON_WRAPPERS, thenc/configure - enable
DEV_RUN_CYTHON, thenc/configure
- enable option
- => and now
g/generate, and build
- If you want to update this readme, you need to re-generate the README.rst, so you'll need pypandoc:
pip install pypandoc
- (note that pypandoc depends on pandoc native library)
And then to regenerate README.rst:
python setup.py sdist