diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index 91776ff09..69bb4784a 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -770,7 +770,7 @@ def DeployBinariesForBundle(): bundlePath = AbsMacPkgDir + '/klayout.app' # bundlePath = os.getcwd() + '/qt5.pkg.macos-HighSierra-release/klayout.app' bundleExecPathAbs = '%s/Contents/MacOS/' % bundlePath - pythonOriginalFrameworkPath = '/usr/local/opt/python3/Frameworks/Python.framework' + pythonOriginalFrameworkPath = '/usr/local/opt/python/Frameworks/Python.framework' pythonFrameworkPath = '%s/Contents/Frameworks/Python.framework' % bundlePath print(" [8.1] Deploying Python from %s ..." % pythonOriginalFrameworkPath) diff --git a/macbuild/build4mac_env.py b/macbuild/build4mac_env.py index 726175d1b..ece7f7b6f 100755 --- a/macbuild/build4mac_env.py +++ b/macbuild/build4mac_env.py @@ -190,9 +190,9 @@ Python36MacPorts= { 'exe': '/opt/local/Library/Frameworks/Python.framework/Versi # Python 3.7 from Brew *+*+*+ EXPERIMENTAL *+*+*+ # [Key Type Name] = 'pybrew' -Python37Brew= { 'exe': '/usr/local/opt/python3/libexec/bin/python' , - 'inc': '/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.7/Headers', - 'lib': '/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.7/Python' +Python37Brew= { 'exe': '/usr/local/opt/python/libexec/bin/python' , + 'inc': '/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Headers', + 'lib': '/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Python' } # Consolidated dictionary kit for Python