Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
e412535a
Commit
e412535a
authored
Mar 07, 2012
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backout buggy patch for #13719
parent
e7f62f54
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
command/bdist_msi.py
command/bdist_msi.py
+1
-1
tests/test_bdist_msi.py
tests/test_bdist_msi.py
+0
-9
No files found.
command/bdist_msi.py
View file @
e412535a
...
...
@@ -262,7 +262,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
:
...
...
tests/test_bdist_msi.py
View file @
e412535a
"""Tests for distutils.command.bdist_msi."""
import
os
import
sys
import
unittest
from
test.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
():
...
...
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