]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Careful rethink of command options, distribution options, distribution
authorGreg Ward <gward@python.net>
Wed, 8 Sep 1999 02:41:09 +0000 (02:41 +0000)
committerGreg Ward <gward@python.net>
Wed, 8 Sep 1999 02:41:09 +0000 (02:41 +0000)
commit42926ddc7e413f7f14ad68b75f7a6fffe9d96733
tree619be94c0f52ca06401ec9c5847062e05eb0a871
parent3d50b908ba615c65248ff1f8412f8b70e62eef98
Careful rethink of command options, distribution options, distribution
  attributes, etc.  Biggest change was to the Distribution constructor
  -- it now looks for an 'options' attribute, which contains values
  (options) that are explicitly farmed out to the commands.  Also,
  certain options supplied to Distribution (ie. in the 'setup()' call in
  setup.py) are now "command option aliases", meaning they are dropped
  right into a certain command rather than being distribution options.
  This is handled by a new Distribution class attribute,
  'alias_options'.
Various comment changes to reflect the new way-of-thinking.
Added 'get_command_name()' method to Command -- was assuming its
  existence all along as 'command_name()', so changed the code that
  needs it to call 'get_command_name()'.
Lib/distutils/core.py