Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add comment to Distutil files about requiring 1.5.2 compatibility, as | Andrew M. Kuchling | 2002-11-19 | 1 | -0/+2 |
| | | | | suggested by PEP 291. | ||||
* | Remove 'created by' lines; people can use CVS for this, and the information ↵ | Andrew M. Kuchling | 2002-11-14 | 1 | -2/+0 |
| | | | | is often out of date | ||||
* | Test changes before checking them in. | Jeremy Hylton | 2002-06-04 | 1 | -1/+1 |
| | |||||
* | Track extra arg to option_table to all uses of it | Jeremy Hylton | 2002-06-04 | 1 | -2/+2 |
| | |||||
* | global _option_order is not used | Jeremy Hylton | 2002-06-04 | 1 | -6/+0 |
| | |||||
* | Set repeat metadata for an option based on repeat local var not | Jeremy Hylton | 2002-06-04 | 1 | -1/+1 |
| | | | | constant. | ||||
* | Make setup.py less chatty by default. | Jeremy Hylton | 2002-06-04 | 1 | -27/+30 |
| | | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing. | ||||
* | Whitespace normalization. | Fred Drake | 2001-12-06 | 1 | -6/+6 |
| | |||||
* | Use correct variable name | Andrew M. Kuchling | 2001-08-09 | 1 | -1/+1 |
| | |||||
* | Standardize whitespace in function calls. | Greg Ward | 2000-09-26 | 1 | -55/+54 |
| | |||||
* | Added 'translate_longopt()' function. | Greg Ward | 2000-09-25 | 1 | -0/+7 |
| | |||||
* | Added docstring for 'wrap()' function. | Greg Ward | 2000-08-30 | 1 | -0/+5 |
| | |||||
* | Fix so we clear or reinitialize various data structures before populating | Greg Ward | 2000-08-07 | 1 | -0/+5 |
| | | | | | (allows the same FancyGetopt object to be used multiple times with different option tables). | ||||
* | Fixed so we print more than just the first line of help for options with | Greg Ward | 2000-06-08 | 1 | -3/+3 |
| | | | | a short form and text that wraps onto multiple lines. | ||||
* | Don't take advantage of OptionDummy's new "auto-initialization" feature | Greg Ward | 2000-05-23 | 1 | -1/+1 |
| | | | | after all -- turns out it doesn't buy us much after all... | ||||
* | OptionDummy now has a constructor that takes a list of options: each string | Greg Ward | 2000-05-23 | 1 | -2/+9 |
| | | | | | in the option list is an attribute of the OptionDummy that will be initialized to None. | ||||
* | Patch from Harry Henry Gebel: fix two stupid bugs in help-printing stuff. | Greg Ward | 2000-04-23 | 1 | -2/+2 |
| | |||||
* | Added the capability for alias options. | Greg Ward | 2000-04-21 | 1 | -12/+36 |
| | |||||
* | Added 'has_option()', 'get_attr_name()' methods. | Greg Ward | 2000-04-21 | 1 | -1/+14 |
| | |||||
* | Made 'generate_help()' and 'print_help()' methods of FancyGetopt. | Greg Ward | 2000-04-21 | 1 | -99/+102 |
| | | | | | | Added 'set_option_table()' method. Added missing 'self' to 'get_option_order()'. Cosmetic/comment/docstring tweaks. | ||||
* | Continuing the refactoring: deleted the old 'fancy_getopt()' function, | Greg Ward | 2000-04-21 | 1 | -121/+0 |
| | | | | | leaving in its place a tiny wrapper around the FancyGetopt class for backwards compatibility. | ||||
* | Hefty refactoring: converted 'fancy_getopt()' function into FancyGetopt | Greg Ward | 2000-04-21 | 1 | -15/+266 |
| | | | | | | | | class. (Mainly this was to support the ability to go back after the getopt operation is done and get extra information about the parse, in particular the original order of options seen on the command line. But it's a big improvement and should make it a lot easier to add functionality in the future.) | ||||
* | Changed '__rcsid__' to '__revision__'. | Greg Ward | 2000-03-02 | 1 | -1/+1 |
| | |||||
* | Added support for printing out help text from option table: 'print_help()', | Greg Ward | 1999-12-12 | 1 | -12/+171 |
| | | | | | | | | 'generate_help()', 'wrap_text()' functions, and a little tiny test of 'wrap_text()'. Changed how caller states that one option is the boolean opposite of another: added 'negative_opt' parameter to 'fancy_getopt()', and changed to use it instead of parsing long option name. | ||||
* | Hacked to support the notion of "negative alias" options, to handle | Greg Ward | 1999-10-03 | 1 | -3/+32 |
| | | | | -q/--quiet reasonably elegantly. | ||||
* | Better detection of bad entries in option table. | Greg Ward | 1999-08-14 | 1 | -3/+11 |
| | | | | Better error messages for bad entries in option table. | ||||
* | First checkin of real Distutils code. | Greg Ward | 1999-03-22 | 1 | -0/+115 |