Merge pull request #104 from zooba/build_ext

Adds extension module to setup.py
This commit is contained in:
Steve Dower 2018-02-22 11:57:51 -08:00 committed by GitHub
commit 97579f5da1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)],
)