Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
4b2b1de0
Commit
4b2b1de0
authored
Nov 01, 2014
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17896: Move Windows external lib sources from .. to externals.
parent
91f01e17
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
12 deletions
+19
-12
.gitignore
.gitignore
+1
-0
.hgignore
.hgignore
+1
-0
Lib/tkinter/_fix.py
Lib/tkinter/_fix.py
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
PCbuild/build_ssl.py
PCbuild/build_ssl.py
+1
-1
PCbuild/pyproject.props
PCbuild/pyproject.props
+1
-1
PCbuild/readme.txt
PCbuild/readme.txt
+7
-6
PCbuild/rt.bat
PCbuild/rt.bat
+1
-1
Tools/buildbot/external-common.bat
Tools/buildbot/external-common.bat
+2
-1
No files found.
.gitignore
View file @
4b2b1de0
...
...
@@ -70,4 +70,5 @@ tags
TAGS
.coverage
coverage/
externals/
htmlcov/
.hgignore
View file @
4b2b1de0
...
...
@@ -92,6 +92,7 @@ Modules/_freeze_importlib
Modules/_testembed
.coverage
coverage/
externals/
htmlcov/
*.gcda
*.gcno
...
...
Lib/tkinter/_fix.py
View file @
4b2b1de0
...
...
@@ -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
):
...
...
Misc/NEWS
View file @
4b2b1de0
...
...
@@ -128,6 +128,9 @@ Build
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.
...
...
PCbuild/build_ssl.py
View file @
4b2b1de0
...
...
@@ -68,7 +68,7 @@ def get_ssl_dir():
propfile
=
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'pyproject.props'
))
with
open
(
propfile
,
encoding
=
'utf-8-sig'
)
as
f
:
m
=
re
.
search
(
'openssl-([^<]+)<'
,
f
.
read
())
return
"..
\
..
\
openssl-"
+
m
.
group
(
1
)
return
"..
\
ex
t
ernals
\
ope
n
ssl-"
+
m
.
group
(
1
)
def
create_makefile64
(
makefile
,
m32
):
...
...
PCbuild/pyproject.props
View file @
4b2b1de0
...
...
@@ -16,7 +16,7 @@
<PyDllName>
python34$(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>
...
...
PCbuild/readme.txt
View file @
4b2b1de0
...
...
@@ -224,9 +224,10 @@ _tkinter
Unlike the other external libraries listed above, Tk must be built
separately before the _tkinter module can be built. This means that
a pre-built Tcl/Tk installation is expected in ..\..\tcltk (tcltk64
for 64-bit) relative to this directory. See "Getting External
Sources" below for the easiest method to ensure Tcl/Tk is built.
a pre-built Tcl/Tk installation is expected in ..\externals\tcltk
(tcltk64 for 64-bit) relative to this directory. See "Getting
External Sources" below for the easiest method to ensure Tcl/Tk is
built.
Getting External Sources
...
...
@@ -246,12 +247,12 @@ directory from ..\, i.e.:
This extracts all the external sub-projects from
http://svn.python.org/projects/external
via Subversion (so you'll need an 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 the names of some folders in order to make
things work. For instance, if you were to download a version 5.0.7 of
XZ Utils, you would need to extract the archive into ..\
..
\xz-5.0.5
XZ Utils, you would need to extract the archive into ..\
externals
\xz-5.0.5
anyway, since that is where the solution is set to look for xz. The
same is true for all other external projects.
...
...
@@ -268,7 +269,7 @@ The external-amd64.bat file contains this for tcl:
So for a release build, you'd call it as:
nmake -f makefile.vc MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all install
Note that the above command is called from within ..\
..
\tcl-8.6.1.0\win
Note that the above command is called from within ..\
externals
\tcl-8.6.1.0\win
(relative to this directory); don't forget to build Tk as well as Tcl!
This will be cleaned up in the future; http://bugs.python.org/issue15968
...
...
PCbuild/rt.bat
View file @
4b2b1de0
...
...
@@ -38,7 +38,7 @@ if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
if
"
%
1"
==
"-d"
(
set
suffix
=
_d
)
&
shift
&
goto
CheckOpts
if
"
%
1"
==
"-x64"
(
set
prefix
=
amd64
)
&
(
set
tcltk
=
tcltk64
)
&
shift
&
goto
CheckOpts
PATH
%PATH%
;
%~dp0
..\
..
\
%tcltk%
\bin
PATH
%PATH%
;
%~dp0
..\
externals
\
%tcltk%
\bin
set
exe
=
%prefix%
\python
%suffix%
set
cmd
=
%exe%
%dashO%
-Wd -E -bb
../lib/test/regrtest.py
%
1
%
2
%
3
%
4
%
5
%
6
%
7
%
8
%
9
if
defined
qmode
goto
Qmode
...
...
Tools/buildbot/external-common.bat
View file @
4b2b1de0
@rem
Common
file
shared
between
external
.bat
and
external
-amd
64
.bat.
Responsible
for
@rem
fetching
external
components
into
the
root
\..
buildbot
directories
.
cd
..
if
not
exist
externals
mkdir
externals
cd
externals
@rem
XXX
:
If
you
need
to
force
the
buildbots
to
start
from
a
fresh
environment
,
uncomment
@rem
the
following
,
check
it
in
,
then
check
it
out
,
comment
it
out
,
then
check
it
back
in
.
@rem
if
exist
bzip2
-
1
.0.6
rd
/s/q
bzip2
-
1
.0.6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment