]> granicus.if.org Git - python/commit
[3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)
authorNed Deily <nad@python.org>
Sat, 4 Mar 2017 06:05:06 +0000 (01:05 -0500)
committerGitHub <noreply@github.com>
Sat, 4 Mar 2017 06:05:06 +0000 (01:05 -0500)
commit95c50e5aed9e5683676e18349dd94b11901a66b3
treed0e57a3b64c496f48ba99eb12149b4393b082570
parent793f822068335cff68f25304a915c726f3f3a599
[3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)

* bpo-27593: Get SCM build info from git instead of hg. (#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)
Include/pylifecycle.h
Lib/platform.py
Lib/test/test_platform.py
Makefile.pre.in
Misc/NEWS
Modules/getbuildinfo.c
Python/sysmodule.c
configure
configure.ac