New submission from higery <shoulderhig...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue12344> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com