Skip to content

Commit 140678e

Browse files
committed
Fixes extensions build.
1 parent dfb0fb7 commit 140678e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get_version():
3535
if with_extensions == '1' or with_extensions is None:
3636
with_extensions = True
3737

38-
if hasattr(sys, 'pypy_version_info'):
38+
if with_extensions == '0' or hasattr(sys, 'pypy_version_info'):
3939
with_extensions = False
4040

4141
extensions = []
@@ -46,7 +46,6 @@ def get_version():
4646
extra_compile_args=['-Wno-unused-function']),
4747
]
4848

49-
5049
class BuildFailed(Exception):
5150

5251
pass

0 commit comments

Comments
 (0)