cpython: b599584ff1e3 (original) (raw)

--- a/Mac/BuildScript/README.txt +++ b/Mac/BuildScript/README.txt @@ -68,30 +68,30 @@ 2. 64-bit / 32-bit, x86_64 and i386 uni - requires ActiveState Tcl/Tk 8.5.15 (or later) to be installed for building * Beginning with Python 3.4 alpha2, this installer now includes its own

sudo bash cd /Library/Frameworks/Python.framework/Versions/3.4

sudo bash cd /Library/Frameworks/Python.framework/Versions/3.4

- recommended build environment:

--- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -565,11 +565,11 @@ def checkEnvironment(): ] # For 10.6+ builds, we build two versions of _tkinter:

@@ -966,18 +966,18 @@ def buildPython(): # of Tcl and Cocoa Aqua Tk libs because the Apple-supplied Tk 8.5 is # out-of-date and has critical bugs. Save the _tkinter.so that was # linked with /Library/Frameworks/{Tck,Tk}.framework and build

print("Running make install") runCommand("make install DESTDIR=%s"%( @@ -999,11 +999,31 @@ def buildPython(): 'Python.framework', 'Versions', getVersion(), 'lib'))))

+

+

+ print("Fix file modes") frmDir = os.path.join(rootDir, 'Library', 'Frameworks', 'Python.framework') gid = grp.getgrnam('admin').gr_gid shared_lib_error = False

@@ -1029,9 +1049,25 @@ def buildPython(): % (sl, p)) shared_lib_error = True

+ if shared_lib_error: fatal("Unexpected shared library errors.")

+ if PYTHON_3: LDVERSION=None VERSION=None @@ -1061,10 +1097,6 @@ def buildPython(): include_path = '-I%s/libraries/usr/local/include' % (WORKDIR,) lib_path = '-L%s/libraries/usr/local/lib' % (WORKDIR,)

- # fix Makefile path = os.path.join(path_to_lib, 'config' + config_suffix, 'Makefile') fp = open(path, 'r')