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.

Author tarek
Recipients tarek
Date 2009-04-13.15:16:38
SpamBayes Score 9.874099e-06
Marked as misclassified No
Message-id <1239635801.31.0.779200404785.issue5747@psf.upfronthosting.co.za>
In-reply-to
Content
Right now there's no way in a command to know that it was launched as a
subcommand from another command.

For instance every install_* command knows explicitely that it is
launched as a subcommand of 'install' and takes back its options in
finalize_options() using set_undefined_options().

For commands that might be used as subcommands of several commands, we
need to pass the name of the parent command to finalize_options() so 
we can call set_undefined_options() without knowing explicitely the name
of the parent command.

This will be done by adding an optional parameter called
'parent_command', to run_command(), then to ensure_finalized() and to
finalized_options().

The first use case of this will be the check command, that will be used
by "register" and "sdist".

This change will be backward compatible with the existing commands and
ths new parameter optional
History
Date User Action Args
2009-04-13 15:16:41tareksetrecipients: + tarek
2009-04-13 15:16:41tareksetmessageid: <1239635801.31.0.779200404785.issue5747@psf.upfronthosting.co.za>
2009-04-13 15:16:39tareklinkissue5747 messages
2009-04-13 15:16:39tarekcreate