Commit Graph

2992 Commits

Author SHA1 Message Date
Victor Stinner 8a19eb24c9 bpo-23404: make touch becomes make regen-all (#1466)
Don't rebuild generated files based on file modification time
anymore, the action is now explicit. Replace "make touch"
with "make regen-all".

Changes:

* Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
* Add a new "make regen-all" command to rebuild all generated files
* Add subcommands to only generate specific files:

  - regen-ast: Include/Python-ast.h and Python/Python-ast.c
  - regen-grammar: Include/graminit.h and Python/graminit.c
  - regen-opcode-targets: Python/opcode_targets.h

* Add PYTHON_FOR_REGEN variable
* pgen is now only built by by "make regen-grammar"
* Add $(srcdir)/ prefix to paths to source files to handle correctly
  compilation outside the source directory
2017-05-05 03:14:23 +02:00
Benjamin Peterson ea02cdc7ec ring in 2017 for Python 2017-01-01 22:04:13 -06:00
Ned Deily 32b3734866 Issue #28440: No longer add /Library/Python/site-packages, the Apple-supplied
system Python site-packages directory, to sys.path for macOS framework builds.
The coupling between the two Python instances often caused confusion and, as
of macOS 10.12, changes to the site-packages layout can cause pip component
installations to fail.  This change reverts the effects introduced in 2.7.0
by Issue #4865.  If you are using a package with both the Apple system Python
2.7 and a user-installed Python 2.7, you will need to ensure that copies of
the package are installed with both Python instances.
2016-12-03 02:14:09 -05:00
Martin Panter a52b567a3f Issue #28820: Fix spelling of “practice” as a noun 2016-11-30 10:18:45 +00:00
Ned Deily 38db34abab Issue #28248: Update macOS installer build to use OpenSSL 1.0.2j.
Original patch by Mariatta Wijaya.
2016-10-31 19:48:38 -04:00
Martin Panter ca56dd4767 Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 07:54:55 +00:00
sashk fd2f85d6e4 Issue #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal of
deprecated QuickTime/QuickTime.h header file.  Patch by sashk.
2016-09-16 09:08:45 -04:00
Martin Panter fcc8a0f0f5 Correct spelling in documentation and code comments 2016-09-10 10:38:28 +00:00
Martin Panter 6507657ddd Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
Ned Deily 53e9f83486 Issue #27310: remove vestigial import in IDLE.app 2016-06-13 20:21:57 -04:00
Ned Deily 966d299173 Issue #26930: Update OS X 32-bit-only installer builds to use OpenSSL 1.0.2h. 2016-06-04 17:19:54 -07:00
Martin Panter b1d867f149 Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Martin Panter 4f23cabc16 Corrections for a/an in code comments and documentation 2016-05-08 13:45:55 +00:00
Martin Panter f2f1c57b7e Fix typos in comments, documentation and test method names 2016-05-08 13:18:25 +00:00
Serhiy Storchaka 9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Martin Panter 6a8163a928 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Ned Deily b5805b567f Issue #26465: Update OS X installer build to use OpenSSL 1.0.2g. 2016-03-08 01:07:44 -05:00
Ned Deily 7a7ad351b3 Issue #25136: Add reference to 'xcode-select --install' to Mac README. 2016-02-25 01:33:51 +11:00
Ned Deily 942f3de9cb Change OS X installer builds targeted for 10.10 and above to build
and link with a private copy of OpenSSL, like installers targeted
for 10.5 already do, since Apple has deprecated use of the system
OpenSSL and removed its header files from the Xcode 7 SDK.  Note
that this configuration is not currently used to build any
python.org-supplied installers and that the private copy of
OpenSSL requires its own root certificates.
2016-02-25 01:01:02 +11:00
Ned Deily 903783416b Issue #26417: Prevent spurious errors and incorrect defaults when
installing IDLE 2.7 on OS X: default configuration settings are
no longer installed from OS X specific copies.
2016-02-23 20:45:57 +11:00
Ned Deily fdb959b8a3 Issue #26268: Update OS X 10.5+ installer build to use OpenSSL 1.0.2f. 2016-02-15 16:42:36 +11:00
Ned Deily 48e2b676d1 Update copyrights for 2016. 2016-01-01 17:45:31 -05:00
Ned Deily 3afd9c17b6 Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
2015-12-05 23:47:34 -05:00
Ned Deily 80277ed194 Issue #24603: Update the OS X 32-bit installer build to use OpenSSL 1.0.2d. 2015-07-24 16:19:00 -07:00
Ned Deily 14f233e64a Issue #24432: Update OS X 10.5+ installer builds to use OpenSSL 1.0.2c. 2015-07-03 23:32:44 -07:00
Ned Deily 39e4fcd499 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:42:07 -07:00
Ned Deily a8e8f7ee1c Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 2015-03-19 16:19:27 -07:00
Ned Deily 59439d8f0d Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2. 2015-03-05 17:32:28 -08:00
Ned Deily ca7ecf3194 Issue #23212: Update OS X installer build OpenSSL to 1.0.1l.
(currently only used for builds with <= 10.5 deployment targets)
2015-02-06 14:11:36 +11:00
Ned Deily 7a3082f60a Issue #23212: 2.7-specific OS X installer updates 2015-01-09 13:29:04 -08:00
Ned Deily ef9ee93d47 Issue #23212: Update OS X installer build OpenSSL to 1.0.1k.
(currently only used for builds with <= 10.5 deployment targets)
2015-01-09 13:26:13 -08:00
Ned Deily fef9b6c135 Update copyright dates in OS X installer. 2014-12-31 16:30:09 -08:00
Ned Deily 91d0a55d95 Use rtf format files for legacy OS X installer builds.
(Backport from 3.4 changes for Issue #17128.)
2014-12-13 00:33:29 -08:00
Ned Deily 0be4b1ef58 Issue #23032: Fix installer build failures on OS X 10.4 Tiger
by disabling assembly code in the OpenSSL build.
2014-12-11 15:55:42 -08:00
Ned Deily 8dc7af3cb6 Fix typo in OS X installer readmes. 2014-12-10 01:14:43 -08:00
Ned Deily 04f49c15c5 Update the deprecated plain text version of the OS X installer
readme to match the rtf one and update the installer build
instructions README.
2014-12-10 01:06:57 -08:00
Ned Deily 62a8660267 Issue #17128: Use private version of OpenSSL for 2.7.9 OS X 10.5+ installer.
Among other issues, the Apple-supplied 0.9.7 libs for the 10.5 ABI cannot
verify newer SHA-256 certs as now used by python.org services.  Document
in the installer ReadMe some of the certificate management issues that
users now need to be more concerned with due to PEP 476's enabling cert
verification by default.  For now, continue to use the Apple-supplied
0.9.8 libs for the 10.6+ installer since they use Apple private APIs to
verify certificates using the system- and user-managed CA keychain stores.
2014-12-09 23:45:13 -08:00
Ned Deily ea49a02fe6 Remove line breaks in OS X installer README screen. 2014-11-22 14:35:43 -08:00
Ned Deily 074d391b9b Add downloads page link to OS X installer README screens. 2014-11-22 14:17:05 -08:00
Ned Deily 3f1d0b3121 Issue 22878: PEP 477 - "make install" and "make altinstall" integration
The backport of ensurepip to 2.7.9 allows pip to optionally be installed
or upgraded using the bundled pip provided by the new ensurepip module.
The option can be specified persistently using the configure option:

    ./configure --with-ensurepip[=upgrade|install|no]

It can also be overridden on either the "install" or "altinstall" targets:

    make [alt]install ENSUREPIP=[upgrade|install|no]

For Python 2, the default option is "no" (do not install pip).
2014-11-20 02:11:03 -08:00
Ned Deily af627902aa Update OS X installer documentation files for 2.7.9. 2014-11-14 18:57:13 -08:00
Ned Deily 3010182390 Issue #22877: PEP 477 - OS X installer for 2.7.9 now installs pip. 2014-11-14 18:53:59 -08:00
Ned Deily 22ee4c47ff Issue #22471: Avoid Python Launcher.app install problems by removing
vestigial Makefile step.
2014-09-23 12:48:16 -07:00
Ned Deily fcf701aad1 Document 2.7.9 changes in OS X installer build requirements:
because the Doc Makefile has been changed to no longer download sphinx
and its dependencies, build-installer.py now requires that there be an
externally-supplied sphinx-build available.
2014-09-05 15:52:45 -07:00
Ned Deily 5ceffa16ea Update OS X installer build script for changes to documentation build:
as of 2.7.9, doc builds require an externally installed sphinx-build
like 3.4+ builds do.
2014-09-05 15:51:54 -07:00
Ned Deily 1f70b878c4 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:33:57 -07:00
Ned Deily fbb60d562c Issue #21383: OS X installer builds now use "make touch". 2014-05-22 15:27:01 -07:00
Ned Deily 78cceec1c0 Document changes to OS X installer configurations for 2.7.7.
As of 2.7.8, the 32-bit-only installer will support OS X 10.5
and later systems as is currently done for Python 3.x installers.

For 2.7.7 only, we will provide three installers:
the legacy deprecated 10.3+ 32-bit-only format;
the newer 10.5+ 32-bit-only format;
and the unchanged 10.6+ 64-/32-bit format.

Although binary installers will no longer be available from
python.org as of 2.7.8, it will still be possible to build from
source on 10.3.9 and 10.4 systems if necessary.
2014-05-17 14:29:22 -07:00
Ned Deily c177b1cbf3 Issue #21187: Fix OS X installer fail-to-build with Xcode 5.1. 2014-04-09 16:13:46 -07:00
Ned Deily ebd63dc7e1 Issue #20644: Keep build-installer.py in sync across active versions. 2014-04-09 16:12:11 -07:00