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
1ae230aa
Commit
1ae230aa
authored
Mar 07, 2012
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge heads
parents
e48944b6
a420c820
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
12 deletions
+1
-12
Lib/distutils/command/bdist_msi.py
Lib/distutils/command/bdist_msi.py
+1
-1
Lib/distutils/tests/test_bdist_msi.py
Lib/distutils/tests/test_bdist_msi.py
+0
-9
Misc/NEWS
Misc/NEWS
+0
-2
No files found.
Lib/distutils/command/bdist_msi.py
View file @
1ae230aa
...
...
@@ -260,7 +260,7 @@ class bdist_msi(Command):
self
.
db
.
Commit
()
if
hasattr
(
self
.
distribution
,
'dist_files'
):
tup
=
'bdist_msi'
,
self
.
target_version
or
'any'
,
installer_
name
tup
=
'bdist_msi'
,
self
.
target_version
or
'any'
,
full
name
self
.
distribution
.
dist_files
.
append
(
tup
)
if
not
self
.
keep_temp
:
...
...
Lib/distutils/tests/test_bdist_msi.py
View file @
1ae230aa
"""Tests for distutils.command.bdist_msi."""
import
os
import
sys
import
unittest
from
test.support
import
run_unittest
...
...
@@ -17,14 +16,6 @@ class BDistMSITestCase(support.TempdirManager,
project_dir
,
dist
=
self
.
create_dist
()
cmd
=
bdist_msi
(
dist
)
cmd
.
ensure_finalized
()
cmd
.
run
()
bdists
=
os
.
listdir
(
os
.
path
.
join
(
project_dir
,
'dist'
))
self
.
assertEqual
(
bdists
,
[
'foo-0.1.msi'
])
# bug #13719: upload ignores bdist_msi files
self
.
assertEqual
(
dist
.
dist_files
,
[(
'bdist_msi'
,
'any'
,
'dist/foo-0.1.msi'
)])
def
test_suite
():
...
...
Misc/NEWS
View file @
1ae230aa
...
...
@@ -130,8 +130,6 @@ Core and Builtins
Library
-------
- Issue #13719: Make the distutils upload command aware of bdist_msi products.
- Issue #14195: An issue that caused weakref.WeakSet instances to incorrectly
return True for a WeakSet instance 'a' in both 'a < a' and 'a > a' has been
fixed.
...
...
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