mirror of
https://github.com/python/cpython.git
synced 2025-09-23 00:43:12 +00:00
* Make it easier to build custom installers (such as a 3-way universal build)
* Upgrade bzip dependency to 1.0.5
This commit is contained in:
parent
a9cfbded4b
commit
c66ced30be
2 changed files with 200 additions and 182 deletions
|
@ -61,12 +61,25 @@ DEPSRC = os.path.join(WORKDIR, 'third-party')
|
||||||
DEPSRC = os.path.expanduser('~/Universal/other-sources')
|
DEPSRC = os.path.expanduser('~/Universal/other-sources')
|
||||||
|
|
||||||
# Location of the preferred SDK
|
# Location of the preferred SDK
|
||||||
SDKPATH = "/Developer/SDKs/MacOSX10.4u.sdk"
|
if int(os.uname()[2].split('.')[0]) == 8:
|
||||||
#SDKPATH = "/"
|
# Explicitly use the 10.4u (universal) SDK when
|
||||||
|
# building on 10.4, the system headers are not
|
||||||
|
# useable for a universal build
|
||||||
|
SDKPATH = "/Developer/SDKs/MacOSX10.4u.sdk"
|
||||||
|
else:
|
||||||
|
SDKPATH = "/"
|
||||||
|
|
||||||
universal_opts_map = { '32-bit': ('i386', 'ppc',),
|
universal_opts_map = { '32-bit': ('i386', 'ppc',),
|
||||||
'64-bit': ('x86_64', 'ppc64',),
|
'64-bit': ('x86_64', 'ppc64',),
|
||||||
'all': ('i386', 'ppc', 'x86_64', 'ppc64',) }
|
'intel': ('i386', 'x86_64'),
|
||||||
|
'3-way': ('ppc', 'i386', 'x86_64'),
|
||||||
|
'all': ('i386', 'ppc', 'x86_64', 'ppc64',) }
|
||||||
|
default_target_map = {
|
||||||
|
'64-bit': '10.5',
|
||||||
|
'3-way': '10.5',
|
||||||
|
'intel': '10.5',
|
||||||
|
'all': '10.5',
|
||||||
|
}
|
||||||
|
|
||||||
UNIVERSALOPTS = tuple(universal_opts_map.keys())
|
UNIVERSALOPTS = tuple(universal_opts_map.keys())
|
||||||
|
|
||||||
|
@ -104,87 +117,91 @@ USAGE = textwrap.dedent("""\
|
||||||
# [The recipes are defined here for convenience but instantiated later after
|
# [The recipes are defined here for convenience but instantiated later after
|
||||||
# command line options have been processed.]
|
# command line options have been processed.]
|
||||||
def library_recipes():
|
def library_recipes():
|
||||||
return [
|
result = []
|
||||||
dict(
|
|
||||||
name="Bzip2 1.0.4",
|
|
||||||
url="http://www.bzip.org/1.0.4/bzip2-1.0.4.tar.gz",
|
|
||||||
checksum='fc310b254f6ba5fbb5da018f04533688',
|
|
||||||
configure=None,
|
|
||||||
install='make install PREFIX=%s/usr/local/ CFLAGS="-arch %s -isysroot %s"'%(
|
|
||||||
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
|
||||||
' -arch '.join(ARCHLIST),
|
|
||||||
SDKPATH,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
dict(
|
|
||||||
name="ZLib 1.2.3",
|
|
||||||
url="http://www.gzip.org/zlib/zlib-1.2.3.tar.gz",
|
|
||||||
checksum='debc62758716a169df9f62e6ab2bc634',
|
|
||||||
configure=None,
|
|
||||||
install='make install prefix=%s/usr/local/ CFLAGS="-arch %s -isysroot %s"'%(
|
|
||||||
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
|
||||||
' -arch '.join(ARCHLIST),
|
|
||||||
SDKPATH,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
dict(
|
|
||||||
# Note that GNU readline is GPL'd software
|
|
||||||
name="GNU Readline 5.1.4",
|
|
||||||
url="http://ftp.gnu.org/pub/gnu/readline/readline-5.1.tar.gz" ,
|
|
||||||
checksum='7ee5a692db88b30ca48927a13fd60e46',
|
|
||||||
patchlevel='0',
|
|
||||||
patches=[
|
|
||||||
# The readline maintainers don't do actual micro releases, but
|
|
||||||
# just ship a set of patches.
|
|
||||||
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-001',
|
|
||||||
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-002',
|
|
||||||
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-003',
|
|
||||||
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-004',
|
|
||||||
]
|
|
||||||
),
|
|
||||||
|
|
||||||
dict(
|
if DEPTARGET < '10.5':
|
||||||
name="SQLite 3.6.11",
|
result.extend([
|
||||||
url="http://www.sqlite.org/sqlite-3.6.11.tar.gz",
|
dict(
|
||||||
checksum='7ebb099696ab76cc6ff65dd496d17858',
|
name="Bzip2 1.0.5",
|
||||||
configure_pre=[
|
url="http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz",
|
||||||
'--enable-threadsafe',
|
checksum='3c15a0c8d1d3ee1c46a1634d00617b1a',
|
||||||
'--enable-tempstore',
|
configure=None,
|
||||||
'--enable-shared=no',
|
install='make install PREFIX=%s/usr/local/ CFLAGS="-arch %s -isysroot %s"'%(
|
||||||
'--enable-static=yes',
|
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
||||||
'--disable-tcl',
|
' -arch '.join(ARCHLIST),
|
||||||
]
|
SDKPATH,
|
||||||
),
|
|
||||||
|
|
||||||
dict(
|
|
||||||
name="NCurses 5.5",
|
|
||||||
url="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.5.tar.gz",
|
|
||||||
checksum='e73c1ac10b4bfc46db43b2ddfd6244ef',
|
|
||||||
configure_pre=[
|
|
||||||
"--without-cxx",
|
|
||||||
"--without-ada",
|
|
||||||
"--without-progs",
|
|
||||||
"--without-curses-h",
|
|
||||||
"--enable-shared",
|
|
||||||
"--with-shared",
|
|
||||||
"--datadir=/usr/share",
|
|
||||||
"--sysconfdir=/etc",
|
|
||||||
"--sharedstatedir=/usr/com",
|
|
||||||
"--with-terminfo-dirs=/usr/share/terminfo",
|
|
||||||
"--with-default-terminfo-dir=/usr/share/terminfo",
|
|
||||||
"--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib"%(getVersion(),),
|
|
||||||
"--enable-termcap",
|
|
||||||
],
|
|
||||||
patches=[
|
|
||||||
"ncurses-5.5.patch",
|
|
||||||
],
|
|
||||||
useLDFlags=False,
|
|
||||||
install='make && make install DESTDIR=%s && cd %s/usr/local/lib && ln -fs ../../../Library/Frameworks/Python.framework/Versions/%s/lib/lib* .'%(
|
|
||||||
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
|
||||||
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
|
||||||
getVersion(),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
dict(
|
||||||
|
name="ZLib 1.2.3",
|
||||||
|
url="http://www.gzip.org/zlib/zlib-1.2.3.tar.gz",
|
||||||
|
checksum='debc62758716a169df9f62e6ab2bc634',
|
||||||
|
configure=None,
|
||||||
|
install='make install prefix=%s/usr/local/ CFLAGS="-arch %s -isysroot %s"'%(
|
||||||
|
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
||||||
|
' -arch '.join(ARCHLIST),
|
||||||
|
SDKPATH,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
# Note that GNU readline is GPL'd software
|
||||||
|
name="GNU Readline 5.1.4",
|
||||||
|
url="http://ftp.gnu.org/pub/gnu/readline/readline-5.1.tar.gz" ,
|
||||||
|
checksum='7ee5a692db88b30ca48927a13fd60e46',
|
||||||
|
patchlevel='0',
|
||||||
|
patches=[
|
||||||
|
# The readline maintainers don't do actual micro releases, but
|
||||||
|
# just ship a set of patches.
|
||||||
|
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-001',
|
||||||
|
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-002',
|
||||||
|
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-003',
|
||||||
|
'http://ftp.gnu.org/pub/gnu/readline/readline-5.1-patches/readline51-004',
|
||||||
|
]
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
name="SQLite 3.6.11",
|
||||||
|
url="http://www.sqlite.org/sqlite-3.6.11.tar.gz",
|
||||||
|
checksum='7ebb099696ab76cc6ff65dd496d17858',
|
||||||
|
configure_pre=[
|
||||||
|
'--enable-threadsafe',
|
||||||
|
'--enable-tempstore',
|
||||||
|
'--enable-shared=no',
|
||||||
|
'--enable-static=yes',
|
||||||
|
'--disable-tcl',
|
||||||
|
]
|
||||||
|
),
|
||||||
|
dict(
|
||||||
|
name="NCurses 5.5",
|
||||||
|
url="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.5.tar.gz",
|
||||||
|
checksum='e73c1ac10b4bfc46db43b2ddfd6244ef',
|
||||||
|
configure_pre=[
|
||||||
|
"--without-cxx",
|
||||||
|
"--without-ada",
|
||||||
|
"--without-progs",
|
||||||
|
"--without-curses-h",
|
||||||
|
"--enable-shared",
|
||||||
|
"--with-shared",
|
||||||
|
"--datadir=/usr/share",
|
||||||
|
"--sysconfdir=/etc",
|
||||||
|
"--sharedstatedir=/usr/com",
|
||||||
|
"--with-terminfo-dirs=/usr/share/terminfo",
|
||||||
|
"--with-default-terminfo-dir=/usr/share/terminfo",
|
||||||
|
"--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib"%(getVersion(),),
|
||||||
|
"--enable-termcap",
|
||||||
|
],
|
||||||
|
patches=[
|
||||||
|
"ncurses-5.5.patch",
|
||||||
|
],
|
||||||
|
useLDFlags=False,
|
||||||
|
install='make && make install DESTDIR=%s && cd %s/usr/local/lib && ln -fs ../../../Library/Frameworks/Python.framework/Versions/%s/lib/lib* .'%(
|
||||||
|
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
||||||
|
shellQuote(os.path.join(WORKDIR, 'libraries')),
|
||||||
|
getVersion(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
])
|
||||||
|
|
||||||
|
result.extend([
|
||||||
dict(
|
dict(
|
||||||
name="Sleepycat DB 4.7.25",
|
name="Sleepycat DB 4.7.25",
|
||||||
url="http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz",
|
url="http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz",
|
||||||
|
@ -195,91 +212,99 @@ def library_recipes():
|
||||||
'--includedir=/usr/local/include/db4',
|
'--includedir=/usr/local/include/db4',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
]
|
])
|
||||||
|
|
||||||
|
return result
|
||||||
|
|
||||||
|
|
||||||
# Instructions for building packages inside the .mpkg.
|
# Instructions for building packages inside the .mpkg.
|
||||||
PKG_RECIPES = [
|
def pkg_recipes():
|
||||||
dict(
|
result = [
|
||||||
name="PythonFramework",
|
dict(
|
||||||
long_name="Python Framework",
|
name="PythonFramework",
|
||||||
source="/Library/Frameworks/Python.framework",
|
long_name="Python Framework",
|
||||||
readme="""\
|
source="/Library/Frameworks/Python.framework",
|
||||||
This package installs Python.framework, that is the python
|
readme="""\
|
||||||
interpreter and the standard library. This also includes Python
|
This package installs Python.framework, that is the python
|
||||||
wrappers for lots of Mac OS X API's.
|
interpreter and the standard library. This also includes Python
|
||||||
""",
|
wrappers for lots of Mac OS X API's.
|
||||||
postflight="scripts/postflight.framework",
|
""",
|
||||||
),
|
postflight="scripts/postflight.framework",
|
||||||
dict(
|
),
|
||||||
name="PythonApplications",
|
dict(
|
||||||
long_name="GUI Applications",
|
name="PythonApplications",
|
||||||
source="/Applications/Python %(VER)s",
|
long_name="GUI Applications",
|
||||||
readme="""\
|
source="/Applications/Python %(VER)s",
|
||||||
This package installs IDLE (an interactive Python IDE),
|
readme="""\
|
||||||
Python Launcher and Build Applet (create application bundles
|
This package installs IDLE (an interactive Python IDE),
|
||||||
from python scripts).
|
Python Launcher and Build Applet (create application bundles
|
||||||
|
from python scripts).
|
||||||
|
|
||||||
It also installs a number of examples and demos.
|
It also installs a number of examples and demos.
|
||||||
""",
|
""",
|
||||||
required=False,
|
required=False,
|
||||||
),
|
),
|
||||||
dict(
|
dict(
|
||||||
name="PythonUnixTools",
|
name="PythonUnixTools",
|
||||||
long_name="UNIX command-line tools",
|
long_name="UNIX command-line tools",
|
||||||
source="/usr/local/bin",
|
source="/usr/local/bin",
|
||||||
readme="""\
|
readme="""\
|
||||||
This package installs the unix tools in /usr/local/bin for
|
This package installs the unix tools in /usr/local/bin for
|
||||||
compatibility with older releases of Python. This package
|
compatibility with older releases of Python. This package
|
||||||
is not necessary to use Python.
|
is not necessary to use Python.
|
||||||
""",
|
""",
|
||||||
required=False,
|
required=False,
|
||||||
),
|
),
|
||||||
dict(
|
dict(
|
||||||
name="PythonDocumentation",
|
name="PythonDocumentation",
|
||||||
long_name="Python Documentation",
|
long_name="Python Documentation",
|
||||||
topdir="/Library/Frameworks/Python.framework/Versions/%(VER)s/Resources/English.lproj/Documentation",
|
topdir="/Library/Frameworks/Python.framework/Versions/%(VER)s/Resources/English.lproj/Documentation",
|
||||||
source="/pydocs",
|
source="/pydocs",
|
||||||
readme="""\
|
readme="""\
|
||||||
This package installs the python documentation at a location
|
This package installs the python documentation at a location
|
||||||
that is useable for pydoc and IDLE. If you have installed Xcode
|
that is useable for pydoc and IDLE. If you have installed Xcode
|
||||||
it will also install a link to the documentation in
|
it will also install a link to the documentation in
|
||||||
/Developer/Documentation/Python
|
/Developer/Documentation/Python
|
||||||
""",
|
""",
|
||||||
postflight="scripts/postflight.documentation",
|
postflight="scripts/postflight.documentation",
|
||||||
required=False,
|
required=False,
|
||||||
),
|
),
|
||||||
dict(
|
dict(
|
||||||
name="PythonProfileChanges",
|
name="PythonProfileChanges",
|
||||||
long_name="Shell profile updater",
|
long_name="Shell profile updater",
|
||||||
readme="""\
|
readme="""\
|
||||||
This packages updates your shell profile to make sure that
|
This packages updates your shell profile to make sure that
|
||||||
the Python tools are found by your shell in preference of
|
the Python tools are found by your shell in preference of
|
||||||
the system provided Python tools.
|
the system provided Python tools.
|
||||||
|
|
||||||
If you don't install this package you'll have to add
|
If you don't install this package you'll have to add
|
||||||
"/Library/Frameworks/Python.framework/Versions/%(VER)s/bin"
|
"/Library/Frameworks/Python.framework/Versions/%(VER)s/bin"
|
||||||
to your PATH by hand.
|
to your PATH by hand.
|
||||||
""",
|
""",
|
||||||
postflight="scripts/postflight.patch-profile",
|
postflight="scripts/postflight.patch-profile",
|
||||||
topdir="/Library/Frameworks/Python.framework",
|
topdir="/Library/Frameworks/Python.framework",
|
||||||
source="/empty-dir",
|
source="/empty-dir",
|
||||||
required=False,
|
required=False,
|
||||||
),
|
),
|
||||||
dict(
|
]
|
||||||
name="PythonSystemFixes",
|
|
||||||
long_name="Fix system Python",
|
if DEPTARGET < '10.4':
|
||||||
readme="""\
|
result.append(
|
||||||
This package updates the system python installation on
|
dict(
|
||||||
Mac OS X 10.3 to ensure that you can build new python extensions
|
name="PythonSystemFixes",
|
||||||
using that copy of python after installing this version.
|
long_name="Fix system Python",
|
||||||
""",
|
readme="""\
|
||||||
postflight="../Tools/fixapplepython23.py",
|
This package updates the system python installation on
|
||||||
topdir="/Library/Frameworks/Python.framework",
|
Mac OS X 10.3 to ensure that you can build new python extensions
|
||||||
source="/empty-dir",
|
using that copy of python after installing this version.
|
||||||
required=False,
|
""",
|
||||||
)
|
postflight="../Tools/fixapplepython23.py",
|
||||||
]
|
topdir="/Library/Frameworks/Python.framework",
|
||||||
|
source="/empty-dir",
|
||||||
|
required=False,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
return result
|
||||||
|
|
||||||
def fatal(msg):
|
def fatal(msg):
|
||||||
"""
|
"""
|
||||||
|
@ -327,10 +352,10 @@ def checkEnvironment():
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if platform.system() != 'Darwin':
|
if platform.system() != 'Darwin':
|
||||||
fatal("This script should be run on a Mac OS X 10.4 system")
|
fatal("This script should be run on a Mac OS X 10.4 (or later) system")
|
||||||
|
|
||||||
if platform.release() <= '8.':
|
if int(platform.release().split('.')[0]) <= 8:
|
||||||
fatal("This script should be run on a Mac OS X 10.4 system")
|
fatal("This script should be run on a Mac OS X 10.4 (or later) system")
|
||||||
|
|
||||||
if not os.path.exists(SDKPATH):
|
if not os.path.exists(SDKPATH):
|
||||||
fatal("Please install the latest version of Xcode and the %s SDK"%(
|
fatal("Please install the latest version of Xcode and the %s SDK"%(
|
||||||
|
@ -360,6 +385,7 @@ def parseOptions(args=None):
|
||||||
print "Additional arguments"
|
print "Additional arguments"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
deptarget = None
|
||||||
for k, v in options:
|
for k, v in options:
|
||||||
if k in ('-h', '-?', '--help'):
|
if k in ('-h', '-?', '--help'):
|
||||||
print USAGE
|
print USAGE
|
||||||
|
@ -379,11 +405,16 @@ def parseOptions(args=None):
|
||||||
|
|
||||||
elif k in ('--dep-target', ):
|
elif k in ('--dep-target', ):
|
||||||
DEPTARGET=v
|
DEPTARGET=v
|
||||||
|
deptarget=v
|
||||||
|
|
||||||
elif k in ('--universal-archs', ):
|
elif k in ('--universal-archs', ):
|
||||||
if v in UNIVERSALOPTS:
|
if v in UNIVERSALOPTS:
|
||||||
UNIVERSALARCHS = v
|
UNIVERSALARCHS = v
|
||||||
ARCHLIST = universal_opts_map[UNIVERSALARCHS]
|
ARCHLIST = universal_opts_map[UNIVERSALARCHS]
|
||||||
|
if deptarget is None:
|
||||||
|
# Select alternate default deployment
|
||||||
|
# target
|
||||||
|
DEPTARGET = default_target_map.get(v, '10.3')
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError, v
|
raise NotImplementedError, v
|
||||||
|
|
||||||
|
@ -873,7 +904,7 @@ def makeMpkgPlist(path):
|
||||||
IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()),
|
IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()),
|
||||||
IFPkgFlagPackageSelection='selected'
|
IFPkgFlagPackageSelection='selected'
|
||||||
)
|
)
|
||||||
for item in PKG_RECIPES
|
for item in pkg_recipes()
|
||||||
],
|
],
|
||||||
IFPkgFormatVersion=0.10000000149011612,
|
IFPkgFormatVersion=0.10000000149011612,
|
||||||
IFPkgFlagBackgroundScaling="proportional",
|
IFPkgFlagBackgroundScaling="proportional",
|
||||||
|
@ -900,7 +931,7 @@ def buildInstaller():
|
||||||
pkgroot = os.path.join(outdir, 'Python.mpkg', 'Contents')
|
pkgroot = os.path.join(outdir, 'Python.mpkg', 'Contents')
|
||||||
pkgcontents = os.path.join(pkgroot, 'Packages')
|
pkgcontents = os.path.join(pkgroot, 'Packages')
|
||||||
os.makedirs(pkgcontents)
|
os.makedirs(pkgcontents)
|
||||||
for recipe in PKG_RECIPES:
|
for recipe in pkg_recipes():
|
||||||
packageFromRecipe(pkgcontents, recipe)
|
packageFromRecipe(pkgcontents, recipe)
|
||||||
|
|
||||||
rsrcDir = os.path.join(pkgroot, 'Resources')
|
rsrcDir = os.path.join(pkgroot, 'Resources')
|
||||||
|
@ -948,9 +979,9 @@ def buildDMG():
|
||||||
shutil.rmtree(outdir)
|
shutil.rmtree(outdir)
|
||||||
|
|
||||||
imagepath = os.path.join(outdir,
|
imagepath = os.path.join(outdir,
|
||||||
'python-%s-macosx'%(getFullVersion(),))
|
'python-%s-macosx%s'%(getFullVersion(),DEPTARGET))
|
||||||
if INCLUDE_TIMESTAMP:
|
if INCLUDE_TIMESTAMP:
|
||||||
imagepath = imagepath + '%04d-%02d-%02d'%(time.localtime()[:3])
|
imagepath = imagepath + '-%04d-%02d-%02d'%(time.localtime()[:3])
|
||||||
imagepath = imagepath + '.dmg'
|
imagepath = imagepath + '.dmg'
|
||||||
|
|
||||||
os.mkdir(outdir)
|
os.mkdir(outdir)
|
||||||
|
@ -1054,11 +1085,8 @@ def main():
|
||||||
print >> fp, "# By:", pwd.getpwuid(os.getuid()).pw_gecos
|
print >> fp, "# By:", pwd.getpwuid(os.getuid()).pw_gecos
|
||||||
fp.close()
|
fp.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# And copy it to a DMG
|
# And copy it to a DMG
|
||||||
buildDMG()
|
buildDMG()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -16,16 +16,6 @@ FWK="/Library/Frameworks/Python.framework/Versions/@PYVER@"
|
||||||
-x badsyntax -x site-packages \
|
-x badsyntax -x site-packages \
|
||||||
"${FWK}/lib/python${PYVER}"
|
"${FWK}/lib/python${PYVER}"
|
||||||
|
|
||||||
"${FWK}/bin/python@PYVER@" -Wi -tt \
|
|
||||||
"${FWK}/lib/python${PYVER}/compileall.py" \
|
|
||||||
-x badsyntax -x site-packages \
|
|
||||||
"${FWK}/Mac/Tools"
|
|
||||||
|
|
||||||
"${FWK}/bin/python@PYVER@" -Wi -tt -O \
|
|
||||||
"${FWK}/lib/python${PYVER}/compileall.py" \
|
|
||||||
-x badsyntax -x site-packages \
|
|
||||||
"${FWK}/Mac/Tools"
|
|
||||||
|
|
||||||
chgrp -R admin "${FWK}"
|
chgrp -R admin "${FWK}"
|
||||||
chmod -R g+w "${FWK}"
|
chmod -R g+w "${FWK}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue