Commit Graph

86 Commits

Author SHA1 Message Date
Ned Deily 6fc5f98480 Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3.
Some third-party projects, such as matplotlib and PIL/Pillow,
depended on being able to build with Tcl and Tk frameworks in
/Library/Frameworks.  They were unable to build with the built-in
Tcl/Tk and/or execute correctly.
2013-11-05 02:44:17 -08:00
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 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 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 ac25ca10ed Update OS X installer for building on 10.9. 2013-10-18 20:41:16 -07:00
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03: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 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 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
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
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 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 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
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 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 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
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 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