Skip to content

Commit 6c562fd

Browse files
committed
Fix check.
1 parent 0a1a56a commit 6c562fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def read(*names, **kwargs):
6767
class BinaryDistribution(Distribution):
6868
"""Distribution which almost always forces a binary package with platform name"""
6969
def has_ext_modules(self):
70-
return super().has_ext_modules() or os.environ.get('SETUPPY_ALLOW_PURE')
70+
return super().has_ext_modules() or not os.environ.get('SETUPPY_ALLOW_PURE')
7171

7272

7373
setup(

0 commit comments

Comments
 (0)