Run cython build as part of setup.py, except when using build_all.ps1

This commit is contained in:
Steve Dower 2018-03-16 14:41:54 -07:00
parent dce10390c5
commit a70c560192
2 changed files with 7 additions and 0 deletions

View file

@ -11,6 +11,11 @@ import sys
from setuptools import setup, Extension
if not os.getenv('SKIP_CYTHON_BUILD'):
print('Compiling extension modules (set SKIP_CYTHON_BUILD=1 to omit)')
subprocess.check_call(
[sys.executable, 'ptvsd/pydevd/setup_cython.py', 'build_ext', '-i'])
ROOT = os.path.dirname(os.path.abspath(__file__))
# Add pydevd files as data files for this package. They are not treated