Skip to content

Commit

Permalink
always build wxpython4 on macOS >= 10.14 (#240, #333)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjgildea committed May 20, 2019
1 parent d6f0f74 commit e9d68f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libtbx/auto_build/install_base_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ def __init__(self, args=None, packages=None, log=sys.stdout):
if self.python3: python_executable = 'python3'
self.wxpython4 = options.wxpython4 # or self.python3 # Python3 should imply wxpython4, but
# wait until we can actually build it
if (not self.wxpython4 and
self.flag_is_mac and
get_os_version().startswith('10.') and
int(get_os_version().split('.')[1]) >= 14):
print("Setting wxpython4=True as Mac OS X version >= 10.14", file=self.log)
self.wxpython4 = True
if os.path.exists(os.path.join(self.build_dir, 'base', 'bin', python_executable)):
self.python_exe = os.path.join(self.build_dir, 'base', 'bin', python_executable)
elif options.with_python:
Expand Down

0 comments on commit e9d68f7

Please sign in to comment.