Commit 24463d45 authored by Stefan Behnel's avatar Stefan Behnel

globally install "cythonize" script

parent dbdfe3c6
#!/usr/bin/env python
#
# Cython -- enhanced main program
#
if __name__ == '__main__':
from Cython.Build.Cythonize import main
main()
...@@ -74,14 +74,15 @@ if 'setuptools' in sys.modules: ...@@ -74,14 +74,15 @@ if 'setuptools' in sys.modules:
setuptools_extra_args['entry_points'] = { setuptools_extra_args['entry_points'] = {
'console_scripts': [ 'console_scripts': [
'cython = Cython.Compiler.Main:setuptools_main', 'cython = Cython.Compiler.Main:setuptools_main',
'cythonize = Cython.Build.Cythonize:main'
] ]
} }
scripts = [] scripts = []
else: else:
if os.name == "posix": if os.name == "posix":
scripts = ["bin/cython"] scripts = ["bin/cython", 'bin/cythonize']
else: else:
scripts = ["cython.py"] scripts = ["cython.py", "cythonize.py"]
if include_debugger: if include_debugger:
if 'setuptools' in sys.modules: if 'setuptools' in sys.modules:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment