Lines Matching refs:Python
1 #!/usr/bin/env python
8 Please ensure that this script keeps working with Python 2.5, to avoid
9 bootstrap issues (/usr/bin/python is Python 2.5 on OSX 10.5). Sphinx,
11 Python 2.4. However, as of Python 3.4.1, Doc builds require an external
13 Python 2.6.
19 the Python built by this script will attempt to dynamically link first to
25 and the installation of additional components, such as a newer Python
26 (2.5 is needed for Python parser updates), git, and for the documentation
102 FW_PREFIX = ["Library", "Frameworks", "Python.framework"]
184 --src-dir=DIR: Location of the Python sources (default: %(SRCDIR)r)
202 # batteries included python.
239 '--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
244 "TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.5'%(getVersion())),
259 '--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
264 "TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.5'%(getVersion())),
265 "TK_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tk8.5'%(getVersion())),
304 "--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib"%(getVersion(),),
311 install='make && make install DESTDIR=%s && cd %s/usr/local/lib && ln -fs ../../../Library/Frameworks/Python.framework/Versions/%s/lib/lib* .'%(
404 long_name="Python Framework",
405 source="/Library/Frameworks/Python.framework",
407 This package installs Python.framework, that is the python
408 interpreter and the standard library. This also includes Python
417 source="/Applications/Python %(VER)s",
419 This package installs IDLE (an interactive Python IDE),
420 Python Launcher and Build Applet (create application bundles
421 from python scripts).
434 compatibility with older releases of Python. This package
435 is not necessary to use Python.
442 long_name="Python Documentation",
443 topdir="/Library/Frameworks/Python.framework/Versions/%(VER)s/Resources/English.lproj/Documentation",
446 This package installs the python documentation at a location
458 the Python tools are found by your shell in preference of
459 the system provided Python tools.
462 "/Library/Frameworks/Python.framework/Versions/%(VER)s/bin"
466 topdir="/Library/Frameworks/Python.framework",
476 pip, a tool for installing and managing Python packages.
479 topdir="/Library/Frameworks/Python.framework",
490 long_name="Fix system Python",
492 This package updates the system python installation on
493 Mac OS X 10.3 to ensure that you can build new python extensions
494 using that copy of python after installing this version.
497 topdir="/Library/Frameworks/Python.framework",
569 fatal("This script must be run with Python 2.4 or later")
620 'LD_', 'LIBRARY_', 'PATH', 'PYTHON']
723 print(" -- Building a Python %s framework at patch level %s"
877 # Python framework base within install_prefix:
925 # into the Python build so that setup.py can find them while building
1086 print("Install python documentation")
1103 print("Building a universal python for %s architectures" % UNIVERSALARCHS)
1105 buildDir = os.path.join(WORKDIR, '_bld', 'python')
1119 # claims that parts of the install assume python.exe exists.
1120 os.symlink('python', os.path.join(buildDir, 'python.exe'))
1166 'Python.framework', 'Versions', getVersion(),
1169 'Python.framework', 'Versions', getVersion(),
1172 frmDir = os.path.join(rootDir, 'Library', 'Frameworks', 'Python.framework')
1174 path_to_lib = os.path.join(frmDirVersioned, 'lib', 'python%s'%(version,))
1232 config_suffix = '' # Python 2.x
1264 # pprint from the Python running the installer build which
1265 # may not cosmetically format the same as the pprint in the Python
1299 'Python.framework', 'Versions', version, 'bin')
1312 # with an already installed version of python 2
1314 'Python.framework', 'Versions', 'Current'))
1326 data = data.replace('$PYTHONFRAMEWORKINSTALLDIR', '/Library/Frameworks/Python.framework')
1347 # because having two version of python installed at the same time is
1403 CFBundleGetInfoString="Python.%s %s"%(pkgname, vers,),
1404 CFBundleIdentifier='org.python.Python.%s'%(pkgname,),
1405 CFBundleName='Python.%s'%(pkgname,),
1426 IFPkgDescriptionTitle=recipe.get('long_name', "Python.%s"%(pkgname,)),
1441 CFBundleGetInfoString="Python %s"%(vers,),
1442 CFBundleIdentifier='org.python.Python',
1443 CFBundleName='Python',
1477 pkgroot = os.path.join(outdir, 'Python.mpkg', 'Contents')
1494 IFPkgDescriptionTitle="Python",
1526 'python-%s-macosx%s'%(getFullVersion(),DEPTARGET))
1532 volname='Python %s'%(getFullVersion())
1599 # Now build python itself
1613 folder = os.path.join(WORKDIR, "_root", "Applications", "Python %s"%(
1624 setIcon(folder, "../Icons/Python Folder.icns")