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
dbd3f617
Commit
dbd3f617
authored
Feb 21, 2012
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #6807: Run msisupport.mak earlier.
parent
26bb3cf7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Misc/NEWS
Misc/NEWS
+2
-0
Tools/msi/msi.py
Tools/msi/msi.py
+2
-2
No files found.
Misc/NEWS
View file @
dbd3f617
...
@@ -474,6 +474,8 @@ Library
...
@@ -474,6 +474,8 @@ Library
Build
Build
-----
-----
- Issue #6807: Run msisupport.mak earlier.
- Issue #10580: Minor grammar change in Windows installer.
- Issue #10580: Minor grammar change in Windows installer.
- Issue #13326: Clean __pycache__ directories correctly on OpenBSD.
- Issue #13326: Clean __pycache__ directories correctly on OpenBSD.
...
...
Tools/msi/msi.py
View file @
dbd3f617
...
@@ -179,6 +179,8 @@ mingw_lib = os.path.join(srcdir, PCBUILD, "libpython%s%s.a" % (major, minor))
...
@@ -179,6 +179,8 @@ mingw_lib = os.path.join(srcdir, PCBUILD, "libpython%s%s.a" % (major, minor))
have_mingw
=
build_mingw_lib
(
lib_file
,
def_file
,
dll_file
,
mingw_lib
)
have_mingw
=
build_mingw_lib
(
lib_file
,
def_file
,
dll_file
,
mingw_lib
)
# Determine the target architecture
# Determine the target architecture
if
os
.
system
(
"nmake /nologo /c /f msisupport.mak"
)
!=
0
:
raise
RuntimeError
(
"'nmake /f msisupport.mak' failed"
)
dll_path
=
os
.
path
.
join
(
srcdir
,
PCBUILD
,
dll_file
)
dll_path
=
os
.
path
.
join
(
srcdir
,
PCBUILD
,
dll_file
)
msilib
.
set_arch_from_file
(
dll_path
)
msilib
.
set_arch_from_file
(
dll_path
)
if
msilib
.
pe_type
(
dll_path
)
!=
msilib
.
pe_type
(
"msisupport.dll"
):
if
msilib
.
pe_type
(
dll_path
)
!=
msilib
.
pe_type
(
"msisupport.dll"
):
...
@@ -376,8 +378,6 @@ def add_ui(db):
...
@@ -376,8 +378,6 @@ def add_ui(db):
# UpdateEditIDLE sets the REGISTRY.tcl component into
# UpdateEditIDLE sets the REGISTRY.tcl component into
# the installed/uninstalled state according to both the
# the installed/uninstalled state according to both the
# Extensions and TclTk features.
# Extensions and TclTk features.
if
os
.
system
(
"nmake /nologo /c /f msisupport.mak"
)
!=
0
:
raise
RuntimeError
(
"'nmake /f msisupport.mak' failed"
)
add_data
(
db
,
"Binary"
,
[(
"Script"
,
msilib
.
Binary
(
"msisupport.dll"
))])
add_data
(
db
,
"Binary"
,
[(
"Script"
,
msilib
.
Binary
(
"msisupport.dll"
))])
# See "Custom Action Type 1"
# See "Custom Action Type 1"
if
msilib
.
Win64
:
if
msilib
.
Win64
:
...
...
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