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
5bb73451
Commit
5bb73451
authored
Aug 31, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix packaging command registry to let Windows machines find bdist_msi
parent
cabca45f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Lib/packaging/command/__init__.py
Lib/packaging/command/__init__.py
+7
-2
No files found.
Lib/packaging/command/__init__.py
View file @
5bb73451
"""Subpackage containing all standard commands."""
import
os
from
packaging.errors
import
PackagingModuleError
from
packaging.util
import
resolve_name
...
...
@@ -28,7 +28,12 @@ _COMMANDS = {
'bdist_wininst'
:
'packaging.command.bdist_wininst.bdist_wininst'
,
'register'
:
'packaging.command.register.register'
,
'upload'
:
'packaging.command.upload.upload'
,
'upload_docs'
:
'packaging.command.upload_docs.upload_docs'
}
'upload_docs'
:
'packaging.command.upload_docs.upload_docs'
,
}
# XXX this is crappy
if
os
.
name
==
'nt'
:
_COMMANDS
[
'bdist_msi'
]
=
'packaging.command.bdist_msi'
# XXX use OrderedDict to preserve the grouping (build-related, install-related,
# distribution-related)
...
...
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