From 1ea628dbb6fdeec52f66a0c7197511064f356643 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Mon, 19 Mar 2018 11:59:40 -0700 Subject: [PATCH] Fix #220: Remove py2 from wheel tag. Gracefully handle Cython extension build failure. --- setup.cfg | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 44d9e374..91045640 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [wheel] -universal = 1 +python-tag = py3 [metadata] license_file = LICENSE diff --git a/setup.py b/setup.py index 055a26e8..046e5513 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ 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( + subprocess.call( [sys.executable, 'ptvsd/pydevd/setup_cython.py', 'build_ext', '-i']) ROOT = os.path.dirname(os.path.abspath(__file__))