summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJason Madden <jamadden@gmail.com>2020-01-20 09:10:24 -0600
committerJason Madden <jamadden@gmail.com>2020-01-21 09:38:45 -0600
commit615f92dca94c674e67a9fc77feb046dff252c668 (patch)
tree3d5545f254b87f651e360c0084fd696e1306cbc8 /setup.py
parent3f84b7fe332265e070de059258bb9f253276fd2a (diff)
downloadzope-interface-615f92dca94c674e67a9fc77feb046dff252c668.tar.gz
Remove checking of PURE_PYTHON at build time.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index cb6e493..0ffacaf 100644
--- a/setup.py
+++ b/setup.py
@@ -71,17 +71,19 @@ codeoptimization = [
py_impl = getattr(platform, 'python_implementation', lambda: None)
is_pypy = py_impl() == 'PyPy'
is_jython = 'java' in sys.platform
-is_pure = 'PURE_PYTHON' in os.environ
# Jython cannot build the C optimizations, while on PyPy they are
# anti-optimizations (the C extension compatibility layer is known-slow,
# and defeats JIT opportunities).
-if is_pypy or is_jython or is_pure:
+if is_pypy or is_jython:
ext_modules = []
else:
ext_modules = codeoptimization
-tests_require = ['zope.event']
-testing_extras = tests_require + ['nose', 'coverage']
+tests_require = [
+ 'coverage',
+ 'zope.event',
+]
+testing_extras = tests_require
def read(*rnames):