Skip to content

Commit

Permalink
Disable M1 builds until we can test.
Browse files Browse the repository at this point in the history
  • Loading branch information
culler committed Nov 7, 2021
1 parent 49a7d1d commit 6fe30cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
from glob import glob
from setuptools import setup, Command, Extension

# Disable M1 builds until we can test.
if sys.platform == 'darwin':
os.environ['_PYTHON_HOST_PLATFORM'] = 'macosx-10.9-x86_64'
os.environ['ARCHFLAGS'] = '-arch x86_64'

# Defensive linker flags for Linux:
if sys.platform.startswith('linux'):
Expand Down

0 comments on commit 6fe30cc

Please sign in to comment.