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

convert cygdb to an distribute entry point

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