Commit Graph

2875 Commits

Author SHA1 Message Date
Ronald Oussoren 0499d0b03a Two small changes to adjust framework builds to the new stable ABI
Both the Makefile and the script that is used on OSX to create the binary
installer refer to the directory containing the Makefile using the name
'config'. This name was changed with the new ABI (with default build flags
it is now named config-3.2m).  This patch ensures that both files use the
correct name.

The build-installer.py script contains one other change: it now tests for the
Tcl/Tk framework version by looking at the 'Current' symlink in the framework
instead of runnning a script. This makes it possible to verify the version
that is in the SDK that's used during the build instead of the version that
is installed on the system.
2010-12-07 14:41:05 +00:00
Ronald Oussoren d0103292f0 Don't lie about the supported architectures in the OSX installer
Without this patch the i386/x86_64 installer for OSX 10.6
lies in the ReadMe file and the "Important Information" screen
of the installer (that is, the installer claims it supports
the i386 and ppc architectures insetead of the ones it really
supports)
2010-10-20 12:56:56 +00:00
Ronald Oussoren 9af738022e Add support for the ZSH shell to the "Update Shell Profile" script
on MacOSX.

Patch by Sylvain Mora, issue #9701.
2010-09-28 13:57:58 +00:00
Ronald Oussoren 82bfcc87f0 Merged revisions 81649 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81649 | ronald.oussoren | 2010-06-02 05:47:14 +0200 (Wed, 02 Jun 2010) | 5 lines

  Fix for issue8868: without this patch 'MacOS.WMAvailable()' will return
  False on MacOSX 10.5 or earlier and scripts won't be able to access GUI
  functionality.
........
2010-06-02 03:50:56 +00:00
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
2010-05-09 15:52:27 +00:00
Ronald Oussoren 01d05ada7b Small update to Mac/Makefile to ensure that we
install python binaries that support all
architectures in a universal build.
2010-05-05 13:20:31 +00:00
Ronald Oussoren 56d6410c2d Merged revisions 80657 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80657 | ronald.oussoren | 2010-04-30 17:11:22 +0200 (Fri, 30 Apr 2010) | 3 lines

  Add notes about uninstalling a framework install to
  Mac/README. Fixes issue 7107.
........
2010-04-30 15:13:13 +00:00
Ronald Oussoren 7005067959 Merged revisions 80653 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80653 | ronald.oussoren | 2010-04-30 16:58:39 +0200 (Fri, 30 Apr 2010) | 2 lines

  Fix for issue 8476
........
2010-04-30 15:00:26 +00:00
Ronald Oussoren 86b33c872d Merged revisions 80647 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80647 | ronald.oussoren | 2010-04-30 13:20:14 +0200 (Fri, 30 Apr 2010) | 11 lines

  Fix for issue #3646: with this patch it is possible to do a
  framework install of Python in your home directory (on OSX):

     $ configure --enable-framework=${HOME}/Library/Frameworks
     $ make && make install

  Without this patch the framework would get installed just fine,
  but 'make install' would try to install the application bundles
  and command-line tools outside the user's home, which doesn't work
  for non-admin users (and is bad form anyway).
........
2010-04-30 11:41:56 +00:00
Martin v. Löwis 6120ddb0aa Merged revisions 80355 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80355 | martin.v.loewis | 2010-04-22 13:34:36 +0200 (Do, 22 Apr 2010) | 3 lines

  Issue #8475: Pass absolute interpreter path to
  "make html".
........
2010-04-22 13:16:44 +00:00
Ronald Oussoren 712979d292 * Fixes cut&paste error in configure
* Ensure that framework install works given the
  recent CFLAGS and BASECFLAGS changes
2010-04-20 19:51:33 +00:00
Ronald Oussoren 1e99be7133 Merged revisions 80232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80232 | ronald.oussoren | 2010-04-20 07:50:44 +0200 (Tue, 20 Apr 2010) | 3 lines

  Explicitly set system default for $PATH to
  ensure we have a clean build environment (OSX installer)
........
2010-04-20 06:36:47 +00:00
Ronald Oussoren 2db462dc69 For for issue #5652 2010-04-18 20:53:49 +00:00
Ronald Oussoren c45c3d9950 Merged revisions 80179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80179 | ronald.oussoren | 2010-04-18 16:01:05 +0200 (Sun, 18 Apr 2010) | 5 lines

  Add check to build-installer.py to ensure that
  the right version of Tcl/Tk is available (on OSX)

  Fixes issue #5651
........
2010-04-18 15:24:17 +00:00
Benjamin Peterson 051858e8a0 Merged revisions 79902 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r79902 | ronald.oussoren | 2010-04-08 03:13:31 -0500 (Thu, 08 Apr 2010) | 9 lines

  This check-in fixes two problems:

  1) A non-critical off-by-one error in pythonw

  2) A problem in the configure script that caused
     builds with '--enable-framework --enable-universalsdk=/'
     to fail on OSX 10.6.
........
2010-04-11 22:14:02 +00:00
Benjamin Peterson d9b7d48a82 update mac installer script from the trunk #8068 2010-03-19 21:42:45 +00:00
Ronald Oussoren b366cda5e0 Merged revisions 78755 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r78755 | ronald.oussoren | 2010-03-07 10:04:06 +0100 (Sun, 07 Mar 2010) | 3 lines

  Fix for issue #7998: pythonw didn't work when --with-framework-name was
  specified
........
2010-03-07 09:14:06 +00:00
Ronald Oussoren 755740f3ea Forward port a number of OSX bugfixes from the trunk to 3.2 2010-02-07 19:56:39 +00:00
Ronald Oussoren f9adc37087 Mention a configure warning that almost certainly indicates that
configure is picking up a library that doesn't contain all architectures
required for a universal build on OSX.
2010-02-07 11:46:38 +00:00
Benjamin Peterson 46a9900e09 Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line

  More yearly updates.
........
  r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line

  Fix casing.
........
  r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line

  Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
  r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line

  #7653: clarify how the PythonPath registry key should look like.
........
  r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines

  Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........
2010-01-09 18:45:30 +00:00
Ronald Oussoren 6f6c562492 Merged revisions 77031 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77031 | ronald.oussoren | 2009-12-24 14:30:58 +0100 (Thu, 24 Dec 2009) | 15 lines

  Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX.

  The previous implementation used execv(2) to run the real interpreter, which means that
  you cannot use the arch(1) tool to select the architecture you want to use for a
  universal build because that only affects the python/pythonw wrapper and not the actual
  interpreter.

  The new version uses posix_spawnv with a number of OSX-specific options that ensure that
  the real interpreter is started using the same CPU architecture as the wrapper, and that
  means that 'arch -ppc python' now actually works.

  I've also changed the way that the wrapper looks for the framework: it is now linked to
  the framework rather than hardcoding the framework path. This should make it easier to
  provide pythonw support in tools like virtualenv.
........
2009-12-24 14:03:19 +00:00
Brett Cannon 85266da5d4 Make the example paths in Mac/README no longer directly refer to 2.6. 2009-12-13 21:15:41 +00:00
Ronald Oussoren b82c207373 Merged revisions 76407 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76407 | ronald.oussoren | 2009-11-19 18:42:51 +0100 (Thu, 19 Nov 2009) | 4 lines

  Don't use the '==' operator with test, that's an unportable bash-ism.

  (Issue 7179)
........
2009-11-19 17:44:52 +00:00
Ronald Oussoren f172f31e4f Merged revisions 74966 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74966 | ronald.oussoren | 2009-09-20 13:19:00 +0200 (Sun, 20 Sep 2009) | 2 lines

  For for issue 6934: failures in postflight script in OSX installer
........
2009-09-20 11:22:29 +00:00
Ronald Oussoren 8e5bda46ca Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set. 2009-06-07 15:34:13 +00:00
Ronald Oussoren a678d94d58 Remove the application stub for Python Launcher. This
directory structure isn't used during the build and
causes problems when you do build without a separate
build directory.

Fixes issue 5267
2009-06-03 22:18:05 +00:00
Ronald Oussoren afbca49cbe * Adapt framework install makefiles to 2to3 tool
* Re-enable installation of files in /usr/local/bin in the OSX installer
  because those files no longer clash with a 2.x install.
2009-05-26 21:18:59 +00:00
Ronald Oussoren 360bcac5fc Merged revisions 72789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72789 | ronald.oussoren | 2009-05-19 21:29:24 +0200 (Tue, 19 May 2009) | 2 lines

  Remove some traces of 'MacPython'
........
2009-05-19 19:30:44 +00:00
Ronald Oussoren f84d7e9ed2 MACOSX
* Remove junk documentation resources from the Python.app inside the framework
  (This is a left-over from the ancient Python IDE, which was removed before 2.5)
* Ensure that the documentation is installed in a location where IDLE will see it
2009-05-19 11:27:25 +00:00
Ronald Oussoren 38e2d8e263 Update framework installation makefiles to deal correctly with the
rename of 'python' to 'python3'
2009-05-17 10:45:53 +00:00
Ronald Oussoren 9ae3640b0e Fix typo in configure line that caused the build installer
to not use the right LDFLAGS settings.
2009-04-01 14:59:59 +00:00
Ronald Oussoren 6bf6367b67 Merged revisions 70802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70802 | ronald.oussoren | 2009-03-31 08:20:45 -0500 (Tue, 31 Mar 2009) | 4 lines

  Minor update to OSX build-installer script, needed
  to ensure that the build will succeed in a clean
  checkout and with a non-default deployment target.
........
2009-03-31 13:25:17 +00:00
Ronald Oussoren e8a2fe9e63 Fix for issue 5558 2009-03-30 20:10:18 +00:00
Ronald Oussoren ac4b39f7f7 Merged revisions 70746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fix for issue 13095
........
2009-03-30 20:05:35 +00:00
Ronald Oussoren f29b6b4b77 Merged revisions 70741 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70741 | ronald.oussoren | 2009-03-30 14:56:25 -0500 (Mon, 30 Mar 2009) | 2 lines

  Fixes issue 5270
........
2009-03-30 20:00:00 +00:00
Ronald Oussoren 0e314548c2 Enable "--with-computed-gotos" for the binary installer
on OSX.
2009-03-30 19:51:09 +00:00
Ronald Oussoren 1943f8683b Merged revisions 70737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70737 | ronald.oussoren | 2009-03-30 14:34:51 -0500 (Mon, 30 Mar 2009) | 6 lines

  * Set a custom icon on the Python installer DMG
  * Remove last traces of "MacPython"
  * Add options to build different flavors of the installer
    (still defaulting to a 2-way universal build that
    runs on OSX 10.3)
........
2009-03-30 19:39:14 +00:00
Ronald Oussoren 4a85269f73 Merged revisions 70735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70735 | ronald.oussoren | 2009-03-30 14:22:56 -0500 (Mon, 30 Mar 2009) | 3 lines

  Remove usage of the deprecated '-cString' and '+stringWithCString:' API's
  in PythonLauncher, replacing them with the correct counterparts.
........
2009-03-30 19:25:21 +00:00
Ronald Oussoren 207b4c227f Merged revisions 70727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70727 | ronald.oussoren | 2009-03-30 12:15:29 -0500 (Mon, 30 Mar 2009) | 5 lines

  * Updates installed dependencies to latest releaases (bzip, zlib, ...)
  * Changes code for updating folder icons from Python code
    that uses the deprecated Carbon module to a much simpler
    Cocoa program in Objective-C
........
2009-03-30 17:20:30 +00:00
Mark Dickinson 934896dc09 Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-02-21 20:59:32 +00:00
Ronald Oussoren bc448664af Fix for issue5224 ("Update Shell Profile.command" contains wrong Python version on OSX) 2009-02-12 16:08:14 +00:00
Ronald Oussoren 50987bce06 Update the ReadMe and Welcome files that are used by the OSX binary
installer. Fixes issue5226. Patch by Ned Deily.
2009-02-12 15:24:51 +00:00
Ronald Oussoren 672f62ae26 Fix for issue5196, patch by Ned Deily. 2009-02-12 15:18:15 +00:00
Ronald Oussoren 711b578da5 Fix for issue5195, a patch by Ned Deily 2009-02-12 15:12:03 +00:00
Ronald Oussoren 827822ef3f Fix for issue5194, based on a patch by Ned Deily. 2009-02-12 15:01:44 +00:00
Ronald Oussoren af1186071a Fix for issue 3433 2009-01-02 11:48:29 +00:00
Ronald Oussoren 360e98ca31 Py3k: update OSX installer-generator
This update makes sure that the installer won't write files
in /usr/local/bin by default. The installer also won't
replace /Library/Frameworks/Python.framework/Version/Current.

Both to ensure that the installer doens't break an existing
install of python 2.x.
2008-12-30 14:16:51 +00:00
Ronald Oussoren 2160015915 Make it possible to install a framework build of Python 3.x on OSX.
This the build machinery on OSX to re-enable building (and installing)
PythonLauncher.app and IDLE.app.

This needs ports of fixes to Lib/distutils/util.py and Include/pymacconfig.h
to be fully functiontional, to be fully functional.

I also have a patch for Makefile.pre.in that I'll post on bugs.python.org
for review.
2008-12-30 12:59:02 +00:00
Benjamin Peterson f767050cdc don't build bsddb anymore 2008-12-20 23:06:29 +00:00
Benjamin Peterson 623918ed0d unpy3kize this; it require 2.x only Mac modules 2008-12-20 22:50:25 +00:00