| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
real implementation in Distribution.
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
and added 'ensure_dirname()'.
|
| | |
|
| |
|
|
| |
Ensure 'make_archive()' method returns archive filename.
|
| | |
|
| |
|
|
|
|
|
| |
* 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").
|
| |
|
|
| |
'install_misc' class.
|
| | |
|
| |
|
|
| |
have to worry about "or []" in 'get_outputs()'.
|
| |
|
|
|
|
| |
- renamed '_copydata()' to 'copy_files()'
- changed it to record complete output filenames
- dropped '_outputdata()' in favour of much simpler 'get_outputs()'
|
| |
|
|
|
|
| |
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.)
|
| |
|
|
| |
'get_options()'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
to account for it not being defined in the constructor.
|
| |
|
|
|
|
| |
crashing when self.force not defined.
Revise 'copy_file()' and 'copy_tree()' docstrings accordingly.
Remove 'hasattr()' check for 'self.force' from 'make_file()'.
|
| |
|
|
|
|
| |
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.
|
| | |
|
|
|
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.
|