[New-bugs-announce] [issue12344] A kind of 'reinitialize_command' function which can initialize a command with key-value pair should be added for Command class
higery
report at bugs.python.org
Thu Jun 16 04:08:25 CEST 2011
New submission from higery <shoulderhigher at gmail.com>:
There is a 'reinitialize_command' function in setuptools' command class which can initialize a command with a key-value pair, but it seems that distutils2/packaging does not yet have this function. I think it's useful in the condition that we want to run some commands with some options initialized.
For instance, if we want to run 'build_ext' command with its 'inplace' option initialized, we can use : self.reinitialize_command('build_ext', inplace=1), and then self.run_command('build_ext') .
----------
assignee: tarek
components: Distutils2
messages: 138409
nosy: alexis, eric.araujo, higery, tarek
priority: normal
severity: normal
status: open
title: A kind of 'reinitialize_command' function which can initialize a command with key-value pair should be added for Command class
type: feature request
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12344>
_______________________________________
More information about the New-bugs-announce
mailing list