]> granicus.if.org Git - python/commit
Changed the semantics of the 'sub_commands' list: instead of function
authorGreg Ward <gward@python.net>
Sat, 20 May 2000 15:17:09 +0000 (15:17 +0000)
committerGreg Ward <gward@python.net>
Sat, 20 May 2000 15:17:09 +0000 (15:17 +0000)
commita4adafd55b870fbd08b876b10eb2f64903039a57
tree37261009c0a2b91ecb1798a776fcd0a15e1b0268
parentf355d473fa477ece2c85f54bdcce38114cac4bee
Changed the semantics of the 'sub_commands' list: instead of function
  objects, it now has method names.
Added three methods, 'has_lib()', 'has_scripts()', and 'has_data()'
  to determine if we need to run each of the three possible sub-commands.
Added 'get_sub_commands()' to take care of finding the methods named
  in 'sub_commands', running them, and interpreting the results to
  build a list of sub-commands that actually have to be run.
Lib/distutils/command/install.py