Skip to content

Commit

Permalink
Fix check.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Dec 15, 2021
1 parent 0a1a56a commit 6c562fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def read(*names, **kwargs):
class BinaryDistribution(Distribution):
"""Distribution which almost always forces a binary package with platform name"""
def has_ext_modules(self):
return super().has_ext_modules() or os.environ.get('SETUPPY_ALLOW_PURE')
return super().has_ext_modules() or not os.environ.get('SETUPPY_ALLOW_PURE')


setup(
Expand Down

0 comments on commit 6c562fd

Please sign in to comment.