Commit 1db9707f authored by Rob Earhart's avatar Rob Earhart Committed by Scott Cyphers

Fix wheel build w/Anaconda on macOS (#2310)

parent c6ff95af
...@@ -374,6 +374,10 @@ class BuildExt(build_ext): ...@@ -374,6 +374,10 @@ class BuildExt(build_ext):
build_ext.build_extensions(self) build_ext.build_extensions(self)
if sys.platform == 'darwin':
# This turns out to be needed when building using Anaconda python on macOS.
os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
with open(os.path.join(PYNGRAPH_ROOT_DIR, 'requirements.txt')) as req: with open(os.path.join(PYNGRAPH_ROOT_DIR, 'requirements.txt')) as req:
requirements = req.read().splitlines() requirements = req.read().splitlines()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment