mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Merge pull request #104 from zooba/build_ext
Adds extension module to setup.py
This commit is contained in:
commit
97579f5da1
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import os
|
||||
import os.path
|
||||
from setuptools import setup
|
||||
from setuptools import setup, Extension
|
||||
|
||||
# Add pydevd files as data files for this package. They are not treated as a package of their own,
|
||||
# because we don't actually want to provide pydevd - just use our own copy internally.
|
||||
|
|
@ -38,4 +38,7 @@ setup(name='ptvsd',
|
|||
'License :: OSI Approved :: MIT License'],
|
||||
packages=['ptvsd'],
|
||||
package_data={'ptvsd': list(get_pydevd_package_data())},
|
||||
ext_modules=[Extension('ptvsd.pydevd._pydevd_bundle.pydevd_cython',
|
||||
['ptvsd/pydevd/_pydevd_bundle/pydevd_cython.c'],
|
||||
optional=True)],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue