- 22 Apr, 2000 7 commits
-
-
Greg Ward authored
added 'abspath()' and 'extend()'.
-
Greg Ward authored
exceptions better.
-
Greg Ward authored
-
Greg Ward authored
errors in the setup script or on the command line, so shouldn't result in a traceback.
-
Greg Ward authored
'make_archive()' to a global static dictionary, ARCHIVE_FORMATS. Added 'check_archive_formats()', which obviously makes good use of this dictionary.
-
Greg Ward authored
and the other "composite meta-data" methods.
-
Greg Ward authored
-
- 21 Apr, 2000 9 commits
-
-
Greg Ward authored
object, rather than through the distribution itself (since I moved the meta- data out to a DistributionMetadata instance).
-
Greg Ward authored
for all commands except 'prune' and 'graft'.
-
Greg Ward authored
and now actually works.
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
to add the "display metadata" options: --name, --version, --author, and so forth. Main changes: * added 'display_options' class attribute to list all the "display only" options (--help-commands plus the metadata options) * added DistributionMetadata class as a place to put the actual metadata information from the setup script (not to be confused with the metadata display options); the logic dealing with metadata (eg. return self.name or "UNKNOWN") is now in this class * changed 'parse_command_line()' to use the new OO interface provided by fancy_getopt, mainly so we can get at the original order of options on the command line, so we can print multiple lines of distribution meta-data in the order specified by the user * added 'handle_display_options()' to handle display-only options Also fixed some crufty old comments/docstrings.
-
Greg Ward authored
Added 'set_option_table()' method. Added missing 'self' to 'get_option_order()'. Cosmetic/comment/docstring tweaks.
-
Greg Ward authored
leaving in its place a tiny wrapper around the FancyGetopt class for backwards compatibility.
-
Greg Ward authored
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.)
-
- 19 Apr, 2000 4 commits
-
-
Greg Ward authored
-
Greg Ward authored
in the Makefile that start with "./" to be absolute paths (with the implied root being the directory where the Makefile itself was found).
-
Greg Ward authored
information from config.h. Code is still there in case someone in the future needs to parse an autoconf-generated config.h file.
-
Greg Ward authored
Two small fixes to 'link_shared_object()'.
-
- 15 Apr, 2000 2 commits
-
-
Greg Ward authored
-
Greg Ward authored
- 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
-
- 14 Apr, 2000 5 commits
-
-
Greg Ward authored
with ":".
-
Greg Ward authored
rather than cobbling them togethere here.
-
Greg Ward authored
'native_path()'.
-
Greg Ward authored
than we actually use, and do actually use AR and SO. Run ranlib on static libraries. (Should probably have a platform-check so we don't run ranlib when it's not necessary, ie. on most modern Unices.)
-
Greg Ward authored
on Unix either, so should probably disappear entirely.)
-
- 10 Apr, 2000 8 commits
-
-
Greg Ward authored
to account for it not being defined in the constructor.
-
Greg Ward authored
-
Greg Ward authored
crashing when self.force not defined. Revise 'copy_file()' and 'copy_tree()' docstrings accordingly. Remove 'hasattr()' check for 'self.force' from 'make_file()'.
-
Greg Ward authored
'get_python_lib()'.
-
Greg Ward authored
-
Greg Ward authored
timestamps), so every build_* command has 'self.force', which follows the 'build' command if not set by the user.
-
Greg Ward authored
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.
-
Greg Ward authored
-
- 09 Apr, 2000 4 commits
-
-
Greg Ward authored
Added code to include source files from 'build_clib' command to default file list -- currently this won't work, since 'build_clib' doesn't have a 'get_source_files()' method!
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
Python library hoping to find out more about the Distutils.
-
- 06 Apr, 2000 1 commit
-
-
Greg Ward authored
-