Commit Graph

3066 Commits

Author SHA1 Message Date
Ned Deily 94764b24aa Issue #19373: Apply upstream change to Tk 8.5.15 fixing OS X 10.9
screen refresh problem.
2013-10-27 19:49:29 -07:00
Ned Deily 246eb11058 Issue #15663: Force IDLE.app to run the GUI process in 32-bit mode.
This mitigates the current Aqua Tk refresh problem on OS X 10.9
by backporting 2.7.x behavior and is transparent to the user.
2013-10-26 22:22:07 -07:00
Ned Deily 050fcd51cc Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter.  This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH.  If this
proves useful, we can supply a more convenient user interface
to supply the paths.  For now, this remains somewhat experimental.
2013-10-26 03:16:44 -07:00
Ned Deily b9dcfea092 Issue Issue #15663: merge from 3.3 2013-10-26 22:23:20 -07:00
Ned Deily f87cfce450 Issue #15663: OS X installer builtin Tcl/Tk support
Make it easier for users to make use of the backup _tkinter linked
with the third-party Tcl and Tk frameworks in /Library/Frameworks.
The two tkinter variants are now installed in separate directories
under a new lib-tkinter.  This allows per-user selection by
manipulating sys.path, directly or with PYTHONPATH.  If this
proves useful, we can supply a more convenient user interface
to supply the paths.  For now, this remains somewhat experimental.
2013-10-26 03:17:44 -07:00
Ned Deily a4f6b006e1 Sync 2.7.x, 3.3.x, and 3.4.x versions of OS X build-installer.py. 2013-10-25 00:47:38 -07:00
Ned Deily 4b7a023149 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-25 00:46:02 -07:00
Ned Deily 5b3582c919 Issue #15663: Tcl/Tk 8.5.15 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+.  It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-10-25 00:41:46 -07:00
Ned Deily 29eec66711 Issue #19019: Change the OS X installer build script to use CFLAGS instead
of OPT for special build options.  By setting OPT, some compiler-specific
options like -fwrapv were overridden and thus not used, which could result
in broken interpreters when building with clang.
2013-10-18 21:16:05 -07:00
Ned Deily 87adb6ef38 Issue #14499: Fix several problems with OS X universal build support:
1. ppc arch detection for extension module builds broke with Xcode 5
    2. ppc arch detection in configure did not work on OS X 10.4
    3. -sysroot and -arch flags were unnecessarily duplicated
    4. there was no obvious way to configure an intel-32 only build.
2013-10-18 21:09:56 -07:00
Ned Deily ea41d5f27c Issue #15663: Update OS X installer to use Tcl/Tk 8.5.15. 2013-10-18 20:49:27 -07:00
Ned Deily 5375b491a6 Update OS X installer for building on 10.9. 2013-10-18 20:42:32 -07:00
Ned Deily ac25ca10ed Update OS X installer for building on 10.9. 2013-10-18 20:41:16 -07:00
Ned Deily dcdd79459d Issue #19128: Remove nonfunctional, unused Mac help indexing tool from repo. 2013-09-29 11:46:50 -07:00
Ned Deily 981b69318d Issue #15663: Tcl/Tk 8.5.14 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+.  It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
2013-09-06 01:18:36 -07:00
Ezio Melotti d640fe2af5 #18803: merge with 3.3. 2013-08-26 01:33:30 +03:00
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
Ned Deily 362532bc48 Fix OS X installer build script to handle the pretty-printed _sysconfigdata.py
when removing references to temporary build files.  This is not an elegant
solution but it does isolate changes to just build-installer.py.
2013-08-01 15:39:47 -07:00
Ronald Oussoren 071029fac6 (3.3->default) Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
2013-07-07 09:54:08 +02:00
Ronald Oussoren 4e327c9d1c Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
2013-07-07 09:53:08 +02:00
Ronald Oussoren 361b28dbd4 (3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters. 2013-07-06 13:25:44 +02:00
Ronald Oussoren fd1c69e2a4 Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters. 2013-07-06 13:20:57 +02:00
Terry Jan Reedy dd61f8f389 Merge with 3.3: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:27:28 -04:00
Terry Jan Reedy caeb6bea9b Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy 65e69b3718 Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Ned Deily c1eb48a8fd Issue #15587: merge from 3.3 2013-02-01 23:17:34 -08:00
Ned Deily 380f7a186f Issue #15587: merge from 3.2 2013-02-01 23:15:51 -08:00
Ned Deily 9cd864dcbf Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer
2013-02-01 23:12:42 -08:00
Ned Deily 32e12c9c44 Issue #16256: merge from 3.3 2013-02-01 14:06:24 -08:00
Ned Deily 8214b9b293 Issue #16256: merge from 3.2 2013-02-01 14:05:26 -08:00
Ned Deily 6214d4937c Issue #16256: OS X installer now sets correct permissions for doc directory. 2013-02-01 13:59:42 -08:00
Ned Deily e6f3732915 Issue #14018: merge to default 2013-01-29 00:18:52 -08:00
Ned Deily cec5f36e57 Issue #14018: merge to 3.3 2013-01-29 00:17:19 -08:00
Ned Deily 4a96a37c66 Issue #14018: Backport OS X installer updates from 3.3. 2013-01-29 00:08:32 -08:00
Ned Deily 567ab22f7b Update copyright dates in Mac plists. 2013-01-01 12:09:23 -08:00
Ned Deily 7a7a535e23 Update copyright dates in Mac plists. 2013-01-01 12:08:39 -08:00
Ned Deily 3108fb5b45 Update copyright dates in Mac plists. 2013-01-01 12:07:15 -08:00
Jesus Cea b48925a406 #16135: Removal of OS/2 support (I) 2012-10-05 01:04:27 +02:00
Ned Deily 5c0b1ca55e Update various OS X README files for 3.3.0. 2012-08-24 19:57:33 -07:00
Ned Deily 36d188c7f7 Issue #15037: Use correct path to system terminfo database. 2012-08-24 00:44:01 -07:00
Ned Deily bbd3437c27 Issue #14292: Ensure that the OS X installer build configures the CXX
environment variable to a value comparable to what it sets for CC for
the benefit of C++ extension modules.
(Patch by Ronald Oussoren)
2012-08-22 23:34:50 -07:00
Ned Deily 20416a20b7 Issue #15560: Ensure consistent sqlite3 behavior and feature availability
by building a local copy of libsqlite3 with OS X installers rather than
depending on the wide range of versions supplied with various OS X releases.
2012-08-07 03:10:57 -07:00
Ned Deily a0abb4404a Issue #15037: Build OS X installers with local copy of ncurses 5.9 libraries
to avoid curses.unget_wch bug present in older versions of ncurses such as
those shipped with OS X.
2012-08-06 06:40:48 -07:00
Ned Deily dfca8c95c4 OS X installer cleanups:
- Remove OS X installer and Mac/Makefile dependencies on /Developer which
  no longer exists with Xcode 4; the referenced tools have been installed
  into the usr/bin tool root since Xcode 3.
- Support adding the SDK usr/bin tool root to the installer's PATH via the
  SDK_TOOLS_BIN environment variable.
2012-08-06 06:34:00 -07:00
Ned Deily 2910a7ba6b Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
2012-07-30 02:35:58 -07:00
Ned Deily 2c80e120a9 Issue #15188: Prevent test_ldshared_value failure due to slightly
different parsing of the Makefile by distutils.sysconfig and
sysconfig in the case when an intermediate config vars, used to
construct PY_CFLAGS or PY_LDFLAGS, has a trailing space character.
In this case, the OS X installer build script was leaving a
trailing space in the OPT and LDFLAGS config vars.  The space is not
significant and it's not worth toying with the Makefile parsing.
2012-07-22 00:46:46 -07:00
Ned Deily a606aef743 Issue #15188: Modify the OS X build_installer script to remove temporary
build paths from configuration variables cached in _sysconfigdata.py, as
is already done for the installed Makefile.  This avoids a distuils test
case failure in test_ldshared_value.
2012-07-21 10:48:09 -07:00
Vinay Sajip 90db661b43 Closes #15307: symlinks now work on OS X with framework Python builds. Patch by Ronald Oussoren. 2012-07-17 17:33:46 +01:00
Vinay Sajip 2895244653 Closes #15173: Tidied up copyright statements and removed pythonv references. 2012-06-25 00:47:46 +01:00
Ned Deily 1bc276d7ab Update OS X installer build target compilers. 2012-06-24 01:27:51 -07:00
Ned Deily 4c2f4e5c77 Update compileall calls in OS X installer postflight script to
properly skip uncompilable files and to compile existing
files in site-packages if reinstalling.  Also, no longer
attempt to install a documentation link in /Developer
as that no longer necessarily exists with Xcode 4.3+.
2012-06-24 00:44:30 -07:00
Ned Deily 430d7a3090 Remove obsolete fixapplepython23 script and PythonSystemFixes
installer package from the OS X Makefile for Python 3.  It has
never worked on Python 3 and is not needed there as pre-10.3.9
installs are no longer supported.
2012-06-24 00:19:31 -07:00
Ned Deily e742adeb8f Issue #14346: Fix some typos in the Mac/README file.
(Patch by Dionysios Kalofonos)
2012-03-17 10:29:41 -07:00
Ned Deily 4391173778 Update copyright dates in Mac plists. 2012-01-01 01:09:19 -08:00
Ned Deily 6e5fd04ce2 Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,
ensure "make install" creates symlinks in --prefix bin for the "-32"
files in the framework bin directory like the installer does.
2011-05-28 05:59:55 -07:00
Ezio Melotti 3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Ezio Melotti 4969f709cc #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
Ned Deily a16b05b317 Merged revisions 88475 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88475 | ned.deily | 2011-02-21 12:44:27 -0800 (Mon, 21 Feb 2011) | 3 lines

  Issue #11268: Prevent Mac OS X Installer failure if Documentation
  package had previously been installed.
........
2011-02-21 20:52:58 +00:00
Ned Deily da397903c9 - Issue #11079: The /Applications/Python x.x folder created by the Mac
OS X installers now includes a link to the installed documentation
plus another in the framework share/doc directory.
2011-02-07 16:48:28 +00:00
Ned Deily eb698daf2f Issue #11079: The /Applications/Python x.x folder created by the Mac
OS X installers no longer includes an Extras directory.  The Tools
directory is now installed in the framework under share/doc.
2011-02-07 16:44:19 +00:00
Ned Deily e59e4c5e56 Issue #11054: Allow Mac OS X installer builds to again work on 10.5 with
the system-provided Python.  Also, properly guard a new Python 3 only
installer build step so that build-installer.py can stay compatible
with the 2.7 version.  (with release manager approval for 3.2rc2)
2011-01-29 18:56:28 +00:00
Ned Deily cbb98950db Merged revisions 88007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88007 | ned.deily | 2011-01-14 21:44:21 -0800 (Fri, 14 Jan 2011) | 5 lines

  Remove spurious copy of Mac/IDLE/idlemain.py left over from
  conversion from Python 2 build process.  The correct version
  is in Mac/IDLE/IDLE.app/Contents/Resources/
........
2011-01-18 05:00:40 +00:00
Ned Deily 7f15fa9cef Remove spurious copy of Mac/IDLE/idlemain.py left over from
conversion from Python 2 build process.  The correct version
is in Mac/IDLE/IDLE.app/Contents/Resources/
2011-01-15 05:44:21 +00:00
Ned Deily 4f7ff7812a #10843: Update third-party library versions used in OS X 32-bit
installer builds: bzip2 1.0.6, readline 6.1.2, SQLite 3.7.4
        (with FTS3/FTS4 and RTREE enabled), and ncursesw 5.5 (wide-char
        support enabled).
2011-01-15 05:29:12 +00:00
Ned Deily 916f2a860e #10843: Install the Tools directory on OS X in the applications
Extras (/Applications/Python 3.n/Extras/) where the Demo
        directory had previous been installed.
2011-01-15 05:05:53 +00:00
Ned Deily 2272670495 #10907: Update OS X installer build README to better reflect
current build practices.
2011-01-15 04:44:12 +00:00
Ned Deily 4ce92b23fe #10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
rather than the currently problematic Apple-supplied one,
        when running with the 64-/32-bit installer variant.
2011-01-15 04:37:12 +00:00
Ned Deily 9a1383e380 #10820: Fix OS X framework installs to support version-specific
scripts (implemented in #10679).
2011-01-10 22:14:25 +00:00
Georg Brandl 1caa644ffe Merged revisions 87791 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87791 | georg.brandl | 2011-01-06 11:05:26 +0100 (Do, 06 Jan 2011) | 1 line

  #10844: update copyright years in Mac plists.
........
2011-01-09 07:59:59 +00:00
Georg Brandl f8dc9ca84e #10844: update copyright years in Mac plists. 2011-01-06 10:05:26 +00:00
Georg Brandl 59b44721e3 Remove mentions of the Demo directory. 2010-12-30 22:12:40 +00:00
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
Ned Deily 7d9cf83f2f Update OS X installer build script to be Python 3 compatible.
Builds are not yet fully supported on Python 3 as some parts
of the build process (like the documentation build chain)
are still dependent on Python 2.
2010-11-27 16:42:15 -08:00
Ned Deily 8e5c0a774f Issue #13590: Improve support for OS X Xcode 4:
* update README
2012-06-23 23:13:24 -07:00
Vinay Sajip 7ded1f0f69 Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
Ned Deily 4d4c0eeaf5 Issue #13507: OS X installer builds now build liblzma for the new
lzma module.  (Patch by Nicholas Riley)
2012-04-01 00:17:33 -07: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 478b2a8167 Merged revisions 85059 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85059 | ronald.oussoren | 2010-09-28 15:57:58 +0200 (Tue, 28 Sep 2010) | 5 lines

  Add support for the ZSH shell to the "Update Shell Profile" script
  on MacOSX.

  Patch by Sylvain Mora, issue #9701.
........
2010-09-28 14:04:41 +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 ac4e54ad8f Merged revisions 80659 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80659 | ronald.oussoren | 2010-04-30 17:13:13 +0200 (Fri, 30 Apr 2010) | 10 lines

  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:51 +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 72a8b7d22d Merged revisions 80655 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80655 | ronald.oussoren | 2010-04-30 17:00:26 +0200 (Fri, 30 Apr 2010) | 9 lines

  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:01:23 +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 621522b92c Merged revisions 80366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80366 | martin.v.loewis | 2010-04-22 15:16:44 +0200 (Do, 22 Apr 2010) | 10 lines

  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:18:09 +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 8c882bc5fb Ensure the framework installs cleanly after
the recent changes to CFLAGS and BASECFLAGS.
2010-04-20 16:38:53 +00:00
Ronald Oussoren 8e96394f24 Merged revisions 80233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80233 | ronald.oussoren | 2010-04-20 08:36:47 +0200 (Tue, 20 Apr 2010) | 10 lines

  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:37:54 +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 4ec45df9a7 Fix for issue #5652 2010-04-18 20:54:33 +00:00
Ronald Oussoren 2db462dc69 For for issue #5652 2010-04-18 20:53:49 +00:00
Ronald Oussoren a107819d0c Merged revisions 80185 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r80185 | ronald.oussoren | 2010-04-18 17:24:17 +0200 (Sun, 18 Apr 2010) | 12 lines

  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:25:17 +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 f7239567ea Merged revisions 79119 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r79119 | benjamin.peterson | 2010-03-19 16:42:45 -0500 (Fri, 19 Mar 2010) | 1 line

  update mac installer script from the trunk #8068
........
2010-03-19 21:48:54 +00:00
Benjamin Peterson d9b7d48a82 update mac installer script from the trunk #8068 2010-03-19 21:42:45 +00:00
Benjamin Peterson 5a0a85e838 port r78813 from trunk fixing #8089 2010-03-19 21:38:46 +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 f116faa4ab Merged revisions 78063 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r78063 | ronald.oussoren | 2010-02-07 12:46:38 +0100 (Sun, 07 Feb 2010) | 4 lines

  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:47:11 +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 ffeda29115 Merged revisions 77389 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r77389 | benjamin.peterson | 2010-01-09 12:45:30 -0600 (Sat, 09 Jan 2010) | 25 lines

  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:48:46 +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 8c9695cf98 Merged revisions 76409 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r76409 | ronald.oussoren | 2009-11-19 18:44:52 +0100 (Thu, 19 Nov 2009) | 11 lines

  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:45:30 +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 b90e06977c Merged revisions 74968 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r74968 | ronald.oussoren | 2009-09-20 13:22:29 +0200 (Sun, 20 Sep 2009) | 9 lines

  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:28:04 +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
Benjamin Peterson f10a79aad4 merge from trunk 2008-10-11 00:49:57 +00:00
Georg Brandl 59f8d83b33 #3414: run install_Python when installing Python. 2008-07-19 09:58:13 +00:00
Benjamin Peterson aed4bd4491 fix typo in Mac/Makefile.in 2008-07-19 02:56:43 +00:00
Georg Brandl 3ccb787241 Merged revisions 64446,64490,64495,64526,64567 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r64446 | facundo.batista | 2008-06-21 19:43:56 +0200 (Sat, 21 Jun 2008) | 4 lines


  Fixed issue #2888. Now the behaviour of pprint when working with nested
  structures follows the common sense (and works like in 2.5 and 3.0).
........
  r64490 | thomas.heller | 2008-06-23 21:51:41 +0200 (Mon, 23 Jun 2008) | 1 line

  Include debug info when assembling win64.asm in a debug build.
........
  r64495 | benjamin.peterson | 2008-06-24 04:41:08 +0200 (Tue, 24 Jun 2008) | 1 line

  minor fix
........
  r64526 | mark.dickinson | 2008-06-25 17:29:32 +0200 (Wed, 25 Jun 2008) | 2 lines

  issue #3199: Fix typo in Mac/Makefile.in
........
  r64567 | mark.dickinson | 2008-06-28 00:20:14 +0200 (Sat, 28 Jun 2008) | 3 lines

  Fix typo in configure.in, and propagate configure.in changes from r64002
  to configure and pyconfig.h.in.
........
2008-07-16 03:00:45 +00:00
Georg Brandl fcaf910a1f Merged revisions 63955 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63955 | ronald.oussoren | 2008-06-05 14:58:24 +0200 (Thu, 05 Jun 2008) | 20 lines

  MacOS X: Enable 4-way universal builds

  This patch adds a new configure argument on OSX:
          --with-universal-archs=[32-bit|64-bit|all]

  When used with the --enable-universalsdk option this controls which
  CPU architectures are includes in the framework. The default is 32-bit,
  meaning i386 and ppc. The most useful alternative is 'all', which includes
  all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64).

  This includes limited support for the Carbon bindings in 64-bit mode as well,
  limited because (a) I haven't done extensive testing and (b) a large portion
  of the Carbon API's aren't available in 64-bit mode anyway.

  I've also duplicated a feature of Apple's build of python: setting the
  environment variable 'ARCHFLAGS' controls the '-arch' flags used for building
  extensions using distutils.
........
2008-07-16 02:17:56 +00:00
Benjamin Peterson bbea7972a4 make the symlink to Python be created on install for IDLE.app 2008-07-05 22:51:21 +00:00
Benjamin Peterson de9c869fb8 Hopefully fix make framework install on Mac (see 3174)
Removal of the Mac modules broke many of the Mac scripts (including
BuildApplet.py) so the building of the Python launcher and IDLE.app was
broken. I manually copied built versions of those apps into Mac. Everything else
which used Mac modules had to die.
2008-07-01 18:23:09 +00:00
Benjamin Peterson 361e553dc5 remove usage of cachesrc.py in Mac/Makefile 2008-06-28 14:10:42 +00:00
Georg Brandl 029986af24 Fix old urllib/urllib2/urlparse usage. 2008-06-23 11:44:14 +00:00