Commit 5bb73451 authored by Éric Araujo's avatar Éric Araujo

Fix packaging command registry to let Windows machines find bdist_msi

parent cabca45f
"""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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment