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.
This commit is contained in:
Thomas Ferreira de Lima 2018-03-15 01:29:01 -04:00
parent e90edf4434
commit 305240ccc3
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#=============================================================================== #===============================================================================

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#=============================================================================== #===============================================================================
@ -189,10 +189,10 @@ Python36MacPorts= { 'exe': '/opt/local/Library/Frameworks/Python.framework/Versi
} }
# Python 3.6 from Brew *+*+*+ EXPERIMENTAL *+*+*+ # Python 3.6 from Brew *+*+*+ EXPERIMENTAL *+*+*+
# [Key Type Name] = 'pybrew' # [Key Type Name] = 'B36'
Python36Brew= { 'exe': '/usr/local/opt/python/libexec/bin/python' , Python36Brew= { 'exe': '$(realpath /usr/local/opt/python/libexec/bin/python)' ,
'inc': '/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Headers', 'inc': '$(realpath /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Headers)',
'lib': '/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Python' 'lib': '$(realpath /usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/Python)'
} }
# Consolidated dictionary kit for Python # Consolidated dictionary kit for Python