From ee0c348e143092260c54e308ce0d819b66d66712 Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Mon, 5 Feb 2018 23:49:18 -0500 Subject: [PATCH 01/18] adding brew options for python 3.6 and ruby 2.5 --- macbuild/.gitignore | 1 + macbuild/ReadMe.md | 2 +- macbuild/ReadMe.txt | 2 +- macbuild/build4mac.py | 27 +++++++++++++++++++++++---- macbuild/build4mac_env.py | 30 ++++++++++++++++++++++++++---- 5 files changed, 52 insertions(+), 10 deletions(-) create mode 100644 macbuild/.gitignore diff --git a/macbuild/.gitignore b/macbuild/.gitignore new file mode 100644 index 000000000..0d20b6487 --- /dev/null +++ b/macbuild/.gitignore @@ -0,0 +1 @@ +*.pyc diff --git a/macbuild/ReadMe.md b/macbuild/ReadMe.md index 7412de414..945bc212c 100644 --- a/macbuild/ReadMe.md +++ b/macbuild/ReadMe.md @@ -62,7 +62,7 @@ $ ./build4mac.py -r mp24 -p mp36 ``` $ ./build4mac.py -r mp24 -p mp36 -Y ``` -* [-Y|--DEPOLY] option deploys KLayout's dylibs and executables only. +* [-Y|--DEPLOY] option deploys KLayout's dylibs and executables only. That is, paths to other modules (Ruby, Python, and Qt5 Frameworks) remain unchanged (absolute paths in your development environment). 5. Copy/move generated bundles ("klayout.app" and "klayout.scripts/") to your "/Applications" directory for installation. diff --git a/macbuild/ReadMe.txt b/macbuild/ReadMe.txt index c8519bab3..87921776f 100644 --- a/macbuild/ReadMe.txt +++ b/macbuild/ReadMe.txt @@ -60,7 +60,7 @@ Relevant KLayout version: 0.25.1 to deploy executables and libraries under "klayout.app" bundle. The buddy command line tools (strm*) will also be deployed. $ ./build4mac.py -r mp24 -p mp36 -Y - * [-Y|--DEPOLY] option deploys KLayout's dylibs and executables only. + * [-Y|--DEPLOY] option deploys KLayout's dylibs and executables only. That is, paths to other modules (Ruby, Python, and Qt5 Frameworks) remain unchanged (absolute paths in your development environment). (5) Copy/move generated bundles ("klayout.app" and "klayout.scripts/") to your diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index 9eaeaca8b..e1437d4f7 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -66,8 +66,8 @@ def SetGlobals(): Usage += " : 'Sys' = using the OS standard script language | \n" Usage += " : Refer to 'macbuild/build4mac_env.py' for details | \n" Usage += " [-q|--qt ] : type=['Qt4MacPorts', 'Qt5MacPorts'] | qt5macports \n" - Usage += " [-r|--ruby ] : type=['nil', 'Sys', 'Src24', 'MP24'] | sys \n" - Usage += " [-p|--python ] : type=['nil', 'Sys', 'Ana27', 'Ana36', 'MP36'] | sys \n" + Usage += " [-r|--ruby ] : type=['nil', 'Sys', 'Src24', 'MP24', 'B25'] | sys \n" + Usage += " [-p|--python ] : type=['nil', 'Sys', 'Ana27', 'Ana36', 'MP36', 'B36'] | sys \n" Usage += " [-n|--noqtbinding] : don't create Qt bindings for ruby scripts | disabled \n" Usage += " [-m|--make