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
777af306
Commit
777af306
authored
Apr 19, 2015
by
Steve Dower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to Windows build scripts
parent
3c28c6e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
Tools/msi/make_zip.py
Tools/msi/make_zip.py
+10
-3
Tools/msi/testrelease.bat
Tools/msi/testrelease.bat
+4
-1
No files found.
Tools/msi/make_zip.py
View file @
777af306
...
...
@@ -30,9 +30,16 @@ def include_in_lib(p):
return False
return True
if name in {'
_ctypes_test
.
pyd
', '
_testbuffer
.
pyd
', '
_testcapi
.
pyd
', '
_testimportmultiple
.
pyd
', '
xxlimited
.
pyd
'}:
return False
return p.suffix.lower() not in {'
.
pyc
', '
.
pyo
'}
suffix = p.suffix.lower()
if suffix == '
.
pyd
':
return name not in {
'
_ctypes_test
.
pyd
',
'
_testbuffer
.
pyd
',
'
_testcapi
.
pyd
',
'
_testimportmultiple
.
pyd
',
'
xxlimited
.
pyd
',
}
return suffix not in {'
.
pyc
', '
.
pyo
'}
def include_in_tools(p):
if p.is_dir() and p.name.lower() in {'
scripts
', '
i18n
', '
pynche
', '
demo
', '
parser
'}:
...
...
Tools/msi/testrelease.bat
View file @
777af306
@setlocal
@setlocal
enableextensions
@echo
off
set
D
=
%~dp0
...
...
@@ -51,6 +51,9 @@ exit /B 0
@if
not
exist
"
%
~1"
exit
/B
1
@set
EXE
=
%
~
1
@if
not
"
%EXE
:embed=
%
"
==
"
%EXE%
"
exit
/B
0
@set
EXITCODE
=
0
@echo
Installing
%
1
into
%
2
"
%
~1"
/passive /log
"
%
~2\install\log.txt"
TargetDir
=
"
%
~2\Python"
Include_debug
=
1
Include_symbols
=
1
%
~
3
...
...
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