From 305240ccc3548929bdb01dfbbda15a46bdb0a029 Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Thu, 15 Mar 2018 01:29:01 -0400 Subject: [PATCH] Changing python path for brew installation - Assuming user installing with brew wants the library link to go to cellar rather than /usr/local/opt/. - Python gets updated often in brew, and an update could possibly break klayout. --- macbuild/build4mac.py | 2 +- macbuild/build4mac_env.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index 2c7ed5667..f7d51ba85 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- #=============================================================================== diff --git a/macbuild/build4mac_env.py b/macbuild/build4mac_env.py index 9bbc36b43..4d2b31f1e 100755 --- a/macbuild/build4mac_env.py +++ b/macbuild/build4mac_env.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- #=============================================================================== @@ -189,10 +189,10 @@ Python36MacPorts= { 'exe': '/opt/local/Library/Frameworks/Python.framework/Versi } # Python 3.6 from Brew *+*+*+ EXPERIMENTAL *+*+*+ -# [Key Type Name] = 'pybrew' -Python36Brew= { 'exe': '/usr/local/opt/python/libexec/bin/python' , - 'inc': '/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Headers', - 'lib': '/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Python' +# [Key Type Name] = 'B36' +Python36Brew= { 'exe': '$(realpath /usr/local/opt/python/libexec/bin/python)' , + 'inc': '$(realpath /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Headers)', + 'lib': '$(realpath /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Python)' } # Consolidated dictionary kit for Python