Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ae230a

Browse files
committed
merge heads
2 parents e48944b + a420c82 commit 1ae230a

3 files changed

Lines changed: 1 addition & 12 deletions

File tree

Lib/distutils/command/bdist_msi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def run(self):
260260
self.db.Commit()
261261

262262
if hasattr(self.distribution, 'dist_files'):
263-
tup = 'bdist_msi', self.target_version or 'any', installer_name
263+
tup = 'bdist_msi', self.target_version or 'any', fullname
264264
self.distribution.dist_files.append(tup)
265265

266266
if not self.keep_temp:

Lib/distutils/tests/test_bdist_msi.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Tests for distutils.command.bdist_msi."""
2-
import os
32
import sys
43
import unittest
54
from test.support import run_unittest
@@ -17,14 +16,6 @@ def test_minimal(self):
1716
project_dir, dist = self.create_dist()
1817
cmd = bdist_msi(dist)
1918
cmd.ensure_finalized()
20-
cmd.run()
21-
22-
bdists = os.listdir(os.path.join(project_dir, 'dist'))
23-
self.assertEqual(bdists, ['foo-0.1.msi'])
24-
25-
# bug #13719: upload ignores bdist_msi files
26-
self.assertEqual(dist.dist_files,
27-
[('bdist_msi', 'any', 'dist/foo-0.1.msi')])
2819

2920

3021
def test_suite():

Misc/NEWS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ Core and Builtins
130130
Library
131131
-------
132132

133-
- Issue #13719: Make the distutils upload command aware of bdist_msi products.
134-
135133
- Issue #14195: An issue that caused weakref.WeakSet instances to incorrectly
136134
return True for a WeakSet instance 'a' in both 'a < a' and 'a > a' has been
137135
fixed.

0 commit comments

Comments
 (0)