Commit 18a68a61 authored by Gabi Davar's avatar Gabi Davar

convert cygdb to an distribute entry point

parent 8f07f8d8
......@@ -81,10 +81,15 @@ else:
scripts = ["cython.py"]
if include_debugger:
if os.name == "posix":
scripts.append('bin/cygdb')
else:
scripts.append('cygdb.py')
if 'setuptools' in sys.modules:
setuptools_extra_args['entry_points']['console_scripts'].append(
'cygdb = Cython.Debugger.Cygdb:main'
)
else
if os.name == "posix":
scripts.append('bin/cygdb')
else:
scripts.append('cygdb.py')
def compile_cython_modules(profile=False, compile_more=False, cython_with_refnanny=False):
......
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