diff options
| author | Jason Madden <jamadden@gmail.com> | 2020-01-20 09:10:24 -0600 |
|---|---|---|
| committer | Jason Madden <jamadden@gmail.com> | 2020-01-21 09:38:45 -0600 |
| commit | 615f92dca94c674e67a9fc77feb046dff252c668 (patch) | |
| tree | 3d5545f254b87f651e360c0084fd696e1306cbc8 /setup.py | |
| parent | 3f84b7fe332265e070de059258bb9f253276fd2a (diff) | |
| download | zope-interface-615f92dca94c674e67a9fc77feb046dff252c668.tar.gz | |
Remove checking of PURE_PYTHON at build time.
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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): |
