Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update compatibility comments to 2.1, corresponding to PEP 291 1.13. | Martin v. Löwis | 2004-11-10 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -2/+2 |
| | |||||
* | fix typo | Fred Drake | 2004-06-18 | 1 | -1/+1 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -2/+2 |
| | | | | From SF patch #852334. | ||||
* | Fix a bunch of typos in documentation, docstrings and comments. | Walter Dörwald | 2003-10-20 | 1 | -1/+1 |
| | | | | (From SF patch #810751) | ||||
* | announce(): use the level argument to control the log level. | Guido van Rossum | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | 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 | -3/+0 |
| | | | | is often out of date | ||||
* | Use distutils.debug.DEBUG instead of distutils.core.DEBUG. | Jeremy Hylton | 2002-09-11 | 1 | -1/+1 |
| | | | | | Note that distutils.core.DEBUG still works if client code uses it, but the core code avoids circular references by using distutils.debug. | ||||
* | Make setup.py less chatty by default. | Jeremy Hylton | 2002-06-04 | 1 | -29/+22 |
| | | | | | | | | | | | | | | | 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 | -10/+10 |
| | |||||
* | Flush output more aggressively. This makes things look better if | Neil Schemenauer | 2001-08-29 | 1 | -0/+2 |
| | | | | the setup script is running from inside Vim. | ||||
* | Back out conversion to string methods; the Distutils is intended to work | Andrew M. Kuchling | 2001-03-22 | 1 | -3/+3 |
| | | | | with 1.5.2 | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -3/+3 |
| | |||||
* | Standardize whitespace in function calls. | Greg Ward | 2000-09-26 | 1 | -27/+27 |
| | |||||
* | In 'reinitialize_subcommand()', pass 'reinit_subcommands' flag on to the | Greg Ward | 2000-09-16 | 1 | -2/+3 |
| | | | | real implementation in Distribution. | ||||
* | Added the "sub-command" machinery to formalize the notion of "command | Greg Ward | 2000-09-16 | 1 | -0/+31 |
| | | | | | | | families" -- eg. install and its brood, build and its brood, and so forth. Specifically: added the 'sub_commands' class attribute (empty list, sub- classes must override it) and a comment describing it, and the 'get_sub_commands()' method. | ||||
* | Fix references to functions formerly imported from 'util'. | Greg Ward | 2000-08-13 | 1 | -20/+23 |
| | |||||
* | Replaced 'execute()' method with a thin wrapper around 'util.execute()'. | Greg Ward | 2000-08-02 | 1 | -25/+1 |
| | |||||
* | Fixed a grab-bag of typos spotted by Rob Hooft. | Greg Ward | 2000-07-27 | 1 | -1/+1 |
| | |||||
* | typos fixed by Rob Hooft | Jeremy Hylton | 2000-06-28 | 1 | -1/+1 |
| | |||||
* | Added 'debug_print()' method (driven by DEBUG global from distutils.core). | Greg Ward | 2000-06-08 | 1 | -0/+9 |
| | |||||
* | Added the 'ensure_*' methods from bdist_rpm; refactored 'ensure_filename()' | Greg Ward | 2000-06-04 | 1 | -1/+72 |
| | | | | and added 'ensure_dirname()'. | ||||
* | Reformatted and updated many docstrings. | Greg Ward | 2000-06-02 | 1 | -83/+85 |
| | |||||
* | Added 'reinitialize_command()' method -- delegated to Distribution instance. | Greg Ward | 2000-06-01 | 1 | -2/+6 |
| | | | | Ensure 'make_archive()' method returns archive filename. | ||||
* | Added 'dump_options()' for debugging output. | Greg Ward | 2000-05-28 | 1 | -0/+15 |
| | |||||
* | Some far-reaching naming changes: | Greg Ward | 2000-05-27 | 1 | -19/+11 |
| | | | | | | | * Command method 'find_peer()' -> 'get_finalized_command()' * Command method 'run_peer()' -> 'run_command()' Also deleted the 'get_command_option()' method from Command, and fixed the one place where it was used (in "bdist_dumb"). | ||||
* | Added comment to remind us of the (temporary?) obsolescense of the | Greg Ward | 2000-05-25 | 1 | -0/+5 |
| | | | | 'install_misc' class. | ||||
* | Use 'get_command_obj()' instead of 'find_command_obj()'. | Greg Ward | 2000-05-23 | 1 | -3/+3 |
| | |||||
* | In 'install_misc': 'self.outfiles' defaults to the empty list, so we don't | Gregory P. Smith | 2000-05-13 | 1 | -1/+1 |
| | | | | have to worry about "or []" in 'get_outputs()'. | ||||
* | In 'install_misc' class: | Gregory P. Smith | 2000-05-12 | 1 | -10/+7 |
| | | | | | | - renamed '_copydata()' to 'copy_files()' - changed it to record complete output filenames - dropped '_outputdata()' in favour of much simpler 'get_outputs()' | ||||
* | Patch from Bastien Kleineidam: | Gregory P. Smith | 2000-05-12 | 1 | -0/+30 |
| | | | | | | adds the 'install_data' and 'install_scripts' commands; these two are trivial thanks to the 'install_misc' base class in cmd.py. (Minor tweaks and commentary by me; the code is untested so far.) | ||||
* | Got rid of some little-used and not-very-useful methods: 'get_option()' and | Greg Ward | 2000-05-07 | 1 | -44/+3 |
| | | | | 'get_options()'. | ||||
* | Cleaned up/simplified error-handling: | Greg Ward | 2000-04-15 | 1 | -28/+14 |
| | | | | | | | | | | | | | - DistutilsOptionError is now documented as it's actually used, ie. to indicate bogus option values (usually user options, eg. from the command-line) - added DistutilsSetupError to indicate errors that definitely arise in the setup script - got rid of DistutilsValueError, and changed all usage of it to either DistutilsSetupError or ValueError as appropriate - simplified a bunch of option get/set methods in Command and Distribution classes -- just pass on AttributeError most of the time, rather than turning it into something else | ||||
* | Define 'self.force' in the constructor and remove the hack in '__getattr__()' | Greg Ward | 2000-04-10 | 1 | -5/+6 |
| | | | | to account for it not being defined in the constructor. | ||||
* | Added a check for the 'force' attribute in '__getattr__()' -- better than | Greg Ward | 2000-04-10 | 1 | -6/+10 |
| | | | | | | crashing when self.force not defined. Revise 'copy_file()' and 'copy_tree()' docstrings accordingly. Remove 'hasattr()' check for 'self.force' from 'make_file()'. | ||||
* | Removed global '--force' option -- just too vague a concept to be applicable | Greg Ward | 2000-04-10 | 1 | -10/+14 |
| | | | | | | to all commands in the same way. Several Command methods now either expect 'self.force' to be defined, or check if it is defined and assume it's false if not. | ||||
* | Added (currently) pointless and trivial main body (for future tests). | Greg Ward | 2000-04-09 | 1 | -0/+4 |
| | |||||
* | Reorganization: moved the Distribution class from core.py to dist.py, and | Greg Ward | 2000-04-04 | 1 | -0/+390 |
the Command class from core.py to cmd.py. No other code needs changing though; distutils.core still provides the Command and Distribution classes, although indirectly now. |