This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: msi missing from "bdist --help-formats"
Type: Stage: needs patch
Components: Distutils Versions: Python 3.0
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: bethard, sjmachin, tarek
Priority: normal Keywords: needs review

Created on 2009-01-29 03:05 by bethard, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-3.x-help-formats-msi bethard, 2009-03-30 04:24
Messages (5)
msg80743 - (view) Author: Steven Bethard (bethard) * (Python committer) Date: 2009-01-29 03:05
The bdist_msi command is documented in the distutils reference:

http://docs.python.org/distutils/apiref.html#module-distutils.command.bdist_msi

But it does not show up with "bdist --help-formats"

$ python setup.py bdist --help-formats
List of available distribution formats:
  --formats=rpm      RPM distribution
  --formats=gztar    gzip'ed tar file
  --formats=bztar    bzip2'ed tar file
  --formats=ztar     compressed tar file
  --formats=tar      tar file
  --formats=wininst  Windows executable installer
  --formats=zip      ZIP file

This probably exists in 3.0 too, but I haven't checked.
msg84167 - (view) Author: John Machin (sjmachin) Date: 2009-03-25 23:20
The 2.6.1 documentation consists of a *single* line:
"distutils.command.bdist_msi — Build a Microsoft Installer binary
package". AFAICT this is the *only* mention of "msi" in the docs
(outside the msilib module). I heard about it only by word-of-mouth.
Docs should explain why a packager might want to use it instead of
wininst, and why the output msi is specific to the creating version of
python.
msg84169 - (view) Author: Steven Bethard (bethard) * (Python committer) Date: 2009-03-25 23:36
You're right that the msi feature could use some more documentation. I
created a documentation feature request: issue5563.

As to why the .msi is specific to the creating version of Python, it's
because no one has written the code necessary to be version agnostic -
see issue5311.
msg84499 - (view) Author: Steven Bethard (bethard) * (Python committer) Date: 2009-03-30 04:24
The following 2 line patch adds "msi" to the list of formats (patch
against py3k trunk). I'm pretty sure this is all that it takes, but I'd
appreciate if someone with more distutils experience could glance at it.
msg85583 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-04-05 22:59
added in r71291 and r71293

Thx Steven
History
Date User Action Args
2022-04-11 14:56:44adminsetgithub: 49345
2009-04-05 22:59:44tareksetstatus: open -> closed

messages: + msg85583
versions: + Python 3.0, - Python 2.6, Python 2.5, Python 3.1, Python 2.7
2009-03-30 04:24:32bethardsetkeywords: + needs review
files: + python-3.x-help-formats-msi
messages: + msg84499
2009-03-25 23:36:11bethardsetmessages: + msg84169
2009-03-25 23:20:07sjmachinsetnosy: + sjmachin
messages: + msg84167
2009-01-29 03:07:33benjamin.petersonsetassignee: tarek
nosy: + tarek
2009-01-29 03:05:49bethardcreate