Commit e4530bcc authored by Mark Florisson's avatar Mark Florisson

Merge pull request #229 from mindw/0.19.x

convert cygdb to a distribute entry point
parents 8f07f8d8 18a68a61
...@@ -81,10 +81,15 @@ else: ...@@ -81,10 +81,15 @@ else:
scripts = ["cython.py"] scripts = ["cython.py"]
if include_debugger: if include_debugger:
if os.name == "posix": if 'setuptools' in sys.modules:
scripts.append('bin/cygdb') setuptools_extra_args['entry_points']['console_scripts'].append(
else: 'cygdb = Cython.Debugger.Cygdb:main'
scripts.append('cygdb.py') )
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): 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