Prepare Python scripts for building for Mac OSX.

This refs #4.
This commit is contained in:
Kazunari Sekigawa 2017-12-16 18:55:10 +09:00
parent 6dfc5fe38a
commit fa0fec9bfa
3 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<< Draft >>
<< Draft Version 0.001>>
This directory "macbuild" contains different files required to build KLayout
version 0.25 or later for different Max OSX including:
@ -7,7 +7,7 @@ version 0.25 or later for different Max OSX including:
* Sierra (10.12)
* High Sierra (10.13)
By default, Qt framework is the from Mac Ports (https://www.macports.org/) which
By default, Qt framework is Qt5 from Mac Ports (https://www.macports.org/) which
is usually located under:
/opt/local/libexec/qt5/
@ -15,10 +15,10 @@ Also by default, supported script languages, i.e,, Ruby and Python, are those
standard ones bundled with the OS.
However, you are able to choose other options like Python from Anaconda.
etc. etc.
bla bla bla ...
Make a symbolic link from the parent directory like:
To use the top script "build4mac.py" make a symbolic link from the parent directory like:
build4mac.py -> macbuild/build4mac.py
then execute the Python script to build with appropriate options if required.

View File

@ -4,7 +4,7 @@
#===============================================================================
# File: "macbuild/build4mac.py"
#
# The top script for building KLayout (http://www.klayout.de/index.php)
# The top Python script for building KLayout (http://www.klayout.de/index.php)
# version 0.25 or later on different Apple Mac OSX platforms.
#===============================================================================
from __future__ import print_function # to use print() of Python 3 in Python >= 2.7
@ -343,7 +343,7 @@ def Run():
if not MakeOptions == "":
parameters += " \\\n -option %s" % MakeOptions
# (F) about Ruby
# (E) about Ruby
if ModuleRuby == "nil":
parameters += " \\\n -noruby"
else:
@ -351,7 +351,7 @@ def Run():
parameters += " \\\n -rbinc %s" % RubyDictionary[ModuleRuby]['inc']
parameters += " \\\n -rblib %s" % RubyDictionary[ModuleRuby]['lib']
# (G) about Python
# (F) about Python
if ModulePython == "nil":
parameters += " \\\n -nopython"
else:

View File

@ -4,8 +4,8 @@
#===============================================================================
# File: "macbuild/build4mac_env.py"
#
# Dictionaries
# of different modules for building KLayout (http://www.klayout.de/index.php)
# Here are dictionaries of ...
# different modules for building KLayout (http://www.klayout.de/index.php)
# version 0.25 or later on different Apple Mac OSX platforms.
#
# This file is imported by 'build4mac.py' script.