I have a Django application that will be distributed soon on a client server and I don't want to provide access to my source code.
Someone suggested to me the use of Cython in order to compile my project into .so modules that will prevent the reverse engineering of my source code.
I tried setting up the setup.py files and running a compilation and I was able to obtain the .so files, but the problem is that every time I was hit by the problem of " undefined symbol: _Py_ZeroStruct " after deleting the .py files from the project, leaving the new .so files and running my Django project.
The Setup.py is written as follow :
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules= cythonize( ['appFolder/*.py', 'MainProjectFolder/*.py'] ) )
So I am asking you guys if there anyone who tried compiling his project with Cython and how did he wrote the setup.py in order to be able to run Django project successfully.