Skip to content

Commit 853cc05

Browse files
committed
add debugpy entry point
1 parent 6e8e5be commit 853cc05

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,7 @@ def tail_is(*suffixes):
195195
ext_modules=ExtModules(),
196196
has_ext_modules=lambda: True,
197197
cmdclass=cmds,
198+
# allow the user to call "debugpy" instead of "python -m debugpy"
199+
entry_points={"console_scripts": ["debugpy = debugpy.server.cli:main"]},
198200
**extras
199201
)

0 commit comments

Comments
 (0)