Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Adds extension module to setup.py #104

Merged
merged 2 commits into from
Feb 22, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -38,4 +38,7 @@ def get_pydevd_package_data():
'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)],
)