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
a6deff25
Commit
a6deff25
authored
Sep 04, 2015
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
parent
6e875765
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
PCbuild/build.bat
PCbuild/build.bat
+3
-1
PCbuild/get_externals.bat
PCbuild/get_externals.bat
+11
-10
No files found.
PCbuild/build.bat
View file @
a6deff25
...
...
@@ -66,7 +66,7 @@ if "%~1"=="-V" shift & goto Version
rem These use the actual property names used by MSBuild. We could just let
rem them in through the environment, but we specify them on the command line
rem anyway for visibility so set defaults after this
if
"
%
~1"
==
"-e"
(
set
IncludeExternals
=
true
)
&
call
"
%dir%
get_externals.bat"
&
shift
&
goto
CheckOpts
if
"
%
~1"
==
"-e"
(
set
IncludeExternals
=
true
)
&
shift
&
goto
CheckOpts
if
"
%
~1"
==
"--no-ssl"
(
set
IncludeSSL
=
false
)
&
shift
&
goto
CheckOpts
if
"
%
~1"
==
"--no-tkinter"
(
set
IncludeTkinter
=
false
)
&
shift
&
goto
CheckOpts
...
...
@@ -74,6 +74,8 @@ if "%IncludeExternals%"=="" set IncludeExternals=false
if
"
%IncludeSSL%
"
==
""
set
IncludeSSL
=
true
if
"
%IncludeTkinter%
"
==
""
set
IncludeTkinter
=
true
if
"
%IncludeExternals%
"
==
"true"
call
"
%dir%
get_externals.bat"
if
"
%platf%
"
==
"x64"
(
set
vs_platf
=
x86_amd64
)
rem Setup the environment
...
...
PCbuild/get_externals.bat
View file @
a6deff25
...
...
@@ -51,16 +51,17 @@ if ERRORLEVEL 9009 (
echo
.Fetching
external
libraries
...
for
%%e
in
(
bzip2
-
1
.0.6
nasm
-
2
.11.06
openssl
-
1
.0.2d
tcl
-core
-
8
.6.4.2
tk
-
8
.6.4.2
tix
-
8
.4.3.6
sqlite
-
3
.8.11.0
xz
-
5
.0.5
)
do
(
set
libraries
=
set
libraries
=
%libraries%
bzip2
-
1
.0.6
if
NOT
"
%IncludeSSL%
"
==
"false"
set
libraries
=
%libraries%
nasm
-
2
.11.06
if
NOT
"
%IncludeSSL%
"
==
"false"
set
libraries
=
%libraries%
openssl
-
1
.0.2d
set
libraries
=
%libraries%
sqlite
-
3
.8.11.0
if
NOT
"
%IncludeTkinter%
"
==
"false"
set
libraries
=
%libraries%
tcl
-core
-
8
.6.4.2
if
NOT
"
%IncludeTkinter%
"
==
"false"
set
libraries
=
%libraries%
tk
-
8
.6.4.2
if
NOT
"
%IncludeTkinter%
"
==
"false"
set
libraries
=
%libraries%
tix
-
8
.4.3.6
set
libraries
=
%libraries%
xz
-
5
.0.5
for
%%e
in
(
%libraries%
)
do
(
if
exist
%%e
(
echo
.
%%e
already
exists
,
skipping
.
)
else
(
...
...
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