Skip to content

Commit

Permalink
Override macosx platform to match chromium build of 10.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Jul 12, 2020
1 parent b51c978 commit a33eab4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions repos/kaleido/py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ def run(self):

# Use current platform as plat_name, but replace linux with manylinux2014
cmd_obj.plat_name = distutils.util.get_platform().replace("linux-", "manylinux2014-")

# Set macos platform to 10.10 to match chromium build target (See build/config/mac/mac_sdk.gni)
# rather than Python environment
if cmd_obj.plat_name.startswith("macosx"):
cmd_obj.plat_name = "macosx-10.10-x86_64"

cmd_obj.python_tag = 'py2.py3'
self.run_command("bdist_wheel")

Expand Down

0 comments on commit a33eab4

Please sign in to comment.