[New-bugs-announce] [issue15797] bdist_msi does not pass -install/remove flags to install_script

B Maqueira report at bugs.python.org
Tue Aug 28 11:51:12 CEST 2012


New submission from B Maqueira:

When building an msi package using the --install-script=xx.py, the script "xx.py" is called on msi package install/removal as expected. However the cmd line flags -install/-remove are not passed to the script making it hard to write "step specific" code. 

I experienced this under python 2.7.3 (winXP / distutils 2.7.3, setuptools 0.6c11).

I attach a patch for bdist_msi.py for your consideration.

Kind regards,

Braudel

----------
assignee: eric.araujo
components: Distutils
files: patch.diff
keywords: patch
messages: 169262
nosy: braudel, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: bdist_msi does not pass -install/remove flags to install_script
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file27031/patch.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15797>
_______________________________________


More information about the New-bugs-announce mailing list