- 15 Apr, 2000 1 commit
-
-
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
-
- 04 Apr, 2000 2 commits
-
-
Greg Ward authored
- file_util.py: operations on single files - dir_util.py: operations on whole directories or directory trees - dep_util.py: simple timestamp-based dependency analysis - archive_util.py: creation of archive (tar, zip, ...) files The functions left in util.py are miscellany that don't fit in any of the new files.
-
Greg Ward authored
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.
-
- 31 Mar, 2000 19 commits
-
-
Greg Ward authored
functions, but with different names.
-
Greg Ward authored
HKEY_* and Reg* names once, rather than having near-duplicate code in the two import attempts. Also dropped the leading underscore on all the imported symbols, as it's not appropriate (they're not local to this module).
-
Greg Ward authored
-
Greg Ward authored
option to disable this (by default, it's false and we clean up).
-
Greg Ward authored
we still have to *run* the sub-command that creates a built distribution.
-
Greg Ward authored
-
Greg Ward authored
multiple built distributions in one run -- it seemed a bit dodgy and I'd rather remove it than try to beat it into submission right now.
-
Greg Ward authored
Added 'ztar', 'tar' to 'format_command' dictionary.
-
Greg Ward authored
eg. sunos5, linux2, irix5.
-
Greg Ward authored
-
Greg Ward authored
now done in the 'build_ext' command.
-
Greg Ward authored
* build to "Debug" or "Release" temp directory * put linker turds (.lib and .exp files) in the build temp directory * tack on "_d" to extensions built with debugging * added 'get_ext_libname()' help in putting linker turds to temp dir Also, moved the code that simplifies None to empty list for a bunch of options to 'finalize_options()' instead of 'run()'.
-
Greg Ward authored
specific to building Python extensions.
-
Greg Ward authored
-
Greg Ward authored
Simplified 'Command.get_peer_option()' a tad -- just call 'find_peer()' to get the peer command object. Updated 'Command.copy_file()' to take a 'link' parameter, just like 'util.copy_file()' does now. Added 'Command.make_archive()' to wrap 'util.make_archive()'.
-
Greg Ward authored
Changes to 'copy_file()': * added support for making hard links and symlinks * noted that it silently clobbers existing files when copying, but blows up if destination exists when linking -- hmmm... * error message tweak Added 'base_name' parameter to 'make_tarball()' and 'make_zipfile()'. Added 'make_archive()' -- wrapper around 'make_tarball()' or 'make_zipfile()' to take care of the archive "root directory".
-
Greg Ward authored
-
Greg Ward authored
the command that actually creates "dumb" binary distributions, ie. tarballs and zip files that you just unpack under <prefix> or <exec-prefix>. Very limited, but it's a start.
-
Greg Ward authored
Initial revision is pretty limited; it only knows how to generate "dumb" binary distributions, i.e. a tarball on Unix and a zip file on Windows. Also, due to limitations in the installation code, it only knows how to distribute Python library code. But hey, it's a start.
-