diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-11-02 03:48:24 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-11-02 03:48:24 (GMT) |
commit | 740e1dcdc22027899cd3e88c2bdc99af8071a805 (patch) | |
tree | 66cb7c92fff811be38421614b8150134a781cc3c | |
parent | 048345d4174254a1d70eb4aa09109dddee858223 (diff) | |
parent | 4b2b1de0bdca9020a015473c5348e1a1d4bb53f9 (diff) | |
download | cpython-740e1dcdc22027899cd3e88c2bdc99af8071a805.zip cpython-740e1dcdc22027899cd3e88c2bdc99af8071a805.tar.gz cpython-740e1dcdc22027899cd3e88c2bdc99af8071a805.tar.bz2 |
Issue #17896: Move Windows external lib sources from .. to externals.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .hgignore | 1 | ||||
-rw-r--r-- | Lib/tkinter/_fix.py | 4 | ||||
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | PCbuild/get_externals.bat | 3 | ||||
-rw-r--r-- | PCbuild/pyproject.props | 2 | ||||
-rw-r--r-- | PCbuild/readme.txt | 2 | ||||
-rw-r--r-- | Tools/buildbot/test-amd64.bat | 2 | ||||
-rw-r--r-- | Tools/buildbot/test.bat | 2 |
9 files changed, 13 insertions, 7 deletions
@@ -80,4 +80,5 @@ tags TAGS .coverage coverage/ +externals/ htmlcov/ @@ -93,6 +93,7 @@ Programs/_freeze_importlib Programs/_testembed .coverage coverage/ +externals/ htmlcov/ *.gcda *.gcno diff --git a/Lib/tkinter/_fix.py b/Lib/tkinter/_fix.py index 5f32d25..fa88734 100644 --- a/Lib/tkinter/_fix.py +++ b/Lib/tkinter/_fix.py @@ -48,8 +48,8 @@ else: prefix = os.path.join(sys.base_prefix,"tcl") if not os.path.exists(prefix): - # devdir/../tcltk/lib - prefix = os.path.join(sys.base_prefix, os.path.pardir, "tcltk", "lib") + # devdir/externals/tcltk/lib + prefix = os.path.join(sys.base_prefix, "externals", "tcltk", "lib") prefix = os.path.abspath(prefix) # if this does not exist, no further search is needed if os.path.exists(prefix): @@ -1385,6 +1385,9 @@ Tools/Demos Windows ------- +- Issue #17896: The Windows build scripts now expect external library sources + to be in ``PCbuild\..\externals`` rather than ``PCbuild\..\..``. + - Issue #17717: The Windows build scripts now use a copy of NASM pulled from svn.python.org to build OpenSSL. diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index 662bfcf..c655f6f 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -2,7 +2,8 @@ setlocal rem Simple script to fetch source for external libraries -pushd "%~dp0..\.." +if not exist "%~dp0..\externals" mkdir "%~dp0..\externals" +pushd "%~dp0..\externals" if "%SVNROOT%"=="" set SVNROOT=http://svn.python.org/projects/external/ diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index c7087cc..93d69d0 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -16,7 +16,7 @@ <PyDllName>python35$(PyDebugExt)</PyDllName> <PythonExe>$(OutDir)python$(PyDebugExt).exe</PythonExe> <KillPythonExe>$(OutDir)kill_python$(PyDebugExt).exe</KillPythonExe> - <externalsDir>..\..</externalsDir> + <externalsDir>..\externals</externalsDir> <sqlite3Dir>$(externalsDir)\sqlite-3.8.3.1</sqlite3Dir> <bz2Dir>$(externalsDir)\bzip2-1.0.6</bz2Dir> <lzmaDir>$(externalsDir)\xz-5.0.5</lzmaDir> diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index 535ea00..91ef8d1 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -278,7 +278,7 @@ painless as possible, called "get_externals.bat" and located in this directory. This script extracts all the external sub-projects from http://svn.python.org/projects/external via Subversion (so you'll need svn.exe on your PATH) and places them -in ..\.. (relative to this directory). +in ..\externals (relative to this directory). It is also possible to download sources from each project's homepage, though you may have to change folder names or pass the names to MSBuild diff --git a/Tools/buildbot/test-amd64.bat b/Tools/buildbot/test-amd64.bat index 2441e01..7a241f5 100644 --- a/Tools/buildbot/test-amd64.bat +++ b/Tools/buildbot/test-amd64.bat @@ -2,6 +2,6 @@ setlocal rem The following line should be removed before #20035 is closed -set TCL_LIBRARY=%~dp0..\..\..\tcltk64\lib\tcl8.6 +set TCL_LIBRARY=%~dp0..\..\externals\tcltk64\lib\tcl8.6 call "%~dp0..\..\PCbuild\rt.bat" -d -q -x64 -uall -rwW -n --timeout=3600 %* diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat index 1fa0ad9..6a6448c 100644 --- a/Tools/buildbot/test.bat +++ b/Tools/buildbot/test.bat @@ -2,6 +2,6 @@ setlocal rem The following line should be removed before #20035 is closed -set TCL_LIBRARY=%~dp0..\..\..\tcltk\lib\tcl8.6 +set TCL_LIBRARY=%~dp0..\..\externals\tcltk\lib\tcl8.6 call "%~dp0..\..\PCbuild\rt.bat" -d -q -uall -rwW -n --timeout=3600 %* |