Commit Graph

675 Commits

Author SHA1 Message Date
Victor Stinner fd6c8bb89e bpo-27593: Revise git SCM build info. (#744) (#746) (#1392)
Use --short form of git hash.  Use output from "git describe" for tag.

Expected outputs:
1. previous hg
2. previous git
3. updated git

Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...

Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...

"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626ada7)
(cherry picked from commit ed512cba78)
2017-05-02 21:50:09 +02:00
INADA Naoki 6c6186da42 PCbuild: Add -q option to svn export (GH-539)
Without this option, AppVeyor log is too unreadable.
(cherry picked from commit 8886d5f392)
2017-03-07 17:29:29 +09:00
Steve Dower 6120484e46 bpo-27593: Updates Windows build to use information from git (#262) (#448)
* bpo-27593: Updates Windows build to use information from git (#262)

* bpo-27593: Updates Windows build to use information from git

* Fixes git command (#451)
2017-03-04 10:08:09 -08:00
Zachary Ware f9a6516117 bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-444) 2017-03-03 16:28:39 -06:00
Zachary Ware 8fb09ada55 Issue #28248: Update Windows build to use OpenSSL 1.0.2j 2016-10-10 21:57:04 -05:00
Steve Dower 527dc8af86 Issue #26132: Only adds manifest to executables and main DLL. 2016-09-09 11:05:46 -07:00
Zachary Ware 118eb656ab Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compatible 2016-09-05 12:54:08 -05:00
Zachary Ware 91a9c78c43 Issue #27407: Add prepare_ssl.py to 2.7 2016-09-05 11:55:42 -05:00
Zachary Ware c59a92b6f9 Issue #26930: Update Windows build to OpenSSL 1.0.2h 2016-06-15 17:12:38 -05:00
Steve Dower 2bf60cb020 Issue #19450: Update Windows builds to use SQLite 3.8.11.0. 2016-03-17 14:41:36 -07:00
Steve Dower b3fbbf4b35 Issue #26465: Update Windows builds to use OpenSSL 1.0.2g. 2016-03-08 10:26:39 -08:00
Zachary Ware c46a2ebaff Issue #26268: Update Windows builds to use OpenSSL 1.0.2f 2016-02-22 04:08:30 -06:00
Zachary Ware dc63e9c676 Issue #25934: Default to /fp:strict for ICC builds 2016-01-29 19:06:00 -06:00
Steve Dower 4ffee6157a Issue #25824: Fixes sys.winver to not include any architecture suffix. 2016-01-16 13:41:48 -08:00
Zachary Ware a8dbd93619 Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat 2016-01-12 01:20:33 -06:00
Zachary Ware 5eaf58bfb4 Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Zachary Ware bc071655e8 Update PCbuild/readme.txt
It now better matches 3.5+ and the new reality of 2.7's PCbuild dir.
2015-09-08 01:04:01 -05:00
Zachary Ware eb49ccfdb7 Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
2015-09-04 01:08:07 -05:00
Zachary Ware 1db43f98d5 Issue #24986: Allow building Python without external libraries on Windows
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.

Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
2015-09-03 23:27:05 -05:00
Zachary Ware 7ab6cb44e4 Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 7 tests by name through
Tools\buildbot\test.bat
2015-09-03 23:37:18 -05:00
Zachary Ware a4ce943902 Turn 'rem' comments into a real usage message in PCbuild/build.bat
Also fixes quoting to match 3.5+
2015-09-02 13:21:19 -05:00
Zachary Ware 62a23383dd Set a default BasePlatformToolset to allow the ICC buildbot to build. 2015-07-28 00:00:47 -05:00
Zachary Ware 68773f3100 Issue #24603: Update Windows build to use OpenSSL 1.0.2d 2015-07-21 23:16:51 -05:00
Steve Dower 46d4ed195d Fixes OpenSSL directory reference 2015-07-18 21:47:51 -07:00
Zachary Ware 4734372aa0 Close #24508: Backport the 3.5 MSBuild project files.
The old project files move to PC/VS9.0 and remain supported.

VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Zachary Ware 10c997ae9c Close #23963: Fix building with original OpenSSL sources.
Backport of bcf93e3766e8.
2015-07-15 23:33:15 -05:00
Steve Dower 3dd3d7c620 Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. 2015-07-03 15:19:38 -07:00
Zachary Ware 2409c1f3e1 Update PCbuild/readme.txt
It now recommends PCbuild/get_externals.bat instead of the scripts in
Tools/buildbot.
2015-06-16 10:54:48 -05:00
Zachary Ware e1076aa4e2 Clean up/refactor the batch scripts used for building on Windows.
This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.
2015-06-09 15:21:39 -05:00
Zachary Ware 0f8f917dc0 Force the Windows readme to CRLF 2015-04-13 12:18:11 -05:00
Zachary Ware b9298a4fbb Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.
2015-04-13 11:54:11 -05:00
Zachary Ware 71d6ed73e6 Issue #18402: Also look for 64 bit Perl in build_ssl.py.
It's still not necessary to build, but may be useful to some.
2015-04-13 10:46:40 -05:00
Zachary Ware c26afcc8fc Put the NASM pulled from svn.python.org at the front of the PATH.
This will prevent failures from the version of NASM installed on buildbots,
if the ability to override the version used is desired again later, we can
figure out a way to opt in.
2015-04-09 20:16:05 -05:00
Zachary Ware 563e7c6cd5 Issue #23686: Update Windows build to use OpenSSL 1.0.2a 2015-04-07 20:33:54 -05:00
Zachary Ware 4f3395f7eb Fix up PCbuild/readme.txt a bit.
Removes an incorrect assertion (that the build script will choose the
latest OpenSSL sources it can find), fixes NASM's homepage, and
rewords the section about NASM to make it more clear that you don't
have to install your own.
2015-01-15 11:16:51 -06:00
Steve Dower a0299502c1 Issue #23212: Update Windows copy of OpenSSL to 1.0.1l 2015-01-31 12:18:33 -08:00
Zachary Ware 21a2350a83 Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:34:09 -05:00
Zachary Ware 247b6441a0 Issue #17717: Pull NASM from svn.python.org for OpenSSL build. 2014-11-01 17:11:08 -05:00
Zachary Ware 7876f72f6a Update OpenSSL version in PCbuild\readme.txt 2014-10-25 23:04:33 -05:00
Zachary Ware 10229a450f Issue #22644: Update the Windows build to OpenSSL 1.0.1j 2014-10-17 16:20:15 -05:00
Steve Dower 144de3152d #22398 Tools/msi enhancements for 2.7
Fix build_tkinter.py.
Update msi.py to use environment vars and correct tcl/tk paths.
Update msilib.py to generate short names for files with multiple dots in the name.
2014-09-12 11:48:13 -07:00
doko@ubuntu.com 08578b0d3b - Issue #22381: Update zlib to 1.2.8.
Update zlib file names for the PC installers
2014-09-11 09:08:52 +02:00
Benjamin Peterson 80bdeaba3e link _ssl to crypt32.lib on windoze 2014-08-20 14:34:26 -05:00
Zachary Ware 19e455f9cb Issue #22160: Update OpenSSL to 1.0.1i for the Windows build. 2014-08-06 23:17:20 -05:00
Zachary Ware 6b8626628d Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h 2014-06-06 01:13:37 -05:00
Benjamin Peterson 4e33a86b67 openssl requires nasm (#21462) 2014-05-31 11:01:37 -07:00
Steve Dower ee310bc2b7 Issue #21462 PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds 2014-05-30 11:01:15 -07:00
Zachary Ware e0afd8e16b Issue #19391: Clean up PCbuild/readme.txt 2013-11-03 21:43:33 -06:00
Ezio Melotti 419e23cbb0 #18466: fix more typos. Patch by Févry Thibault. 2013-08-17 16:56:09 +03:00
Ezio Melotti 6a4f394165 #17883: Fix buildbot testing of Tkinter on Windows. Patch by Zachary Ware. 2013-05-05 22:36:09 +03:00