diff options
author | David Lord <davidism@gmail.com> | 2021-02-06 22:59:39 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2021-02-06 23:00:34 -0800 |
commit | df1647e5fe5295e425cd437f47f6fdb63b181420 (patch) | |
tree | 812d9c73fde089672a48e26f1ca9ba185370eb95 | |
parent | 411390d1362aa77e57dad856bcc061449bf183c6 (diff) | |
download | markupsafe-df1647e5fe5295e425cd437f47f6fdb63b181420.tar.gz |
don't build speedups on PyPy even with cibuildwheel
they're not actually faster on PyPy, at least right now
-rw-r--r-- | setup.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -52,9 +52,11 @@ def show_message(*lines): print("=" * 74) -if os.environ.get("CIBUILDWHEEL", "0") == "1": +supports_speedups = platform.python_implementation() not in {"PyPy", "Jython"} + +if os.environ.get("CIBUILDWHEEL", "0") == "1" and supports_speedups: run_setup(True) -elif platform.python_implementation() not in {"PyPy", "Jython"}: +elif supports_speedups: try: run_setup(True) except BuildFailed: |