Commits

Author Commit Message Labels Comments Date
gward
[svn r13433] Now handles NT, through '_init_nt()' function (courtesy of Amos Latteier <amos@aracnet.com>).
gward
[svn r13315] The 'copy_file()' and 'copy_tree()' functions in util.py now have meaningful return values: respectively, whether the copy was done, and the list of files that were copied. This meant some trivial changes in core.py as well: the Command methods that mirror 'copy_file()' and 'copy_tree()' have to pass on their return values.
gward
[svn r13314] Rearranged things so that compilation of .py files is the responsibility of the 'install_py' command rather than 'build_py'. Obviously, this meant that the 'build_py' and 'install_py' modules had to change; less obviously, so did 'install' and 'build', since these higher-level commands must make options available to control the lower-level commands, and some compilation-related options had to migrate with the code.
gward
[svn r13115] 'warn()' method now takes an optional line number.
gward
[svn r13010] Added all the "external action" methods (to make handling the verbose and dry-run flags consistently painless): 'execute()', 'mkpath()', 'copy_file()', 'copy_tree()', 'make_file()', and stub for 'make_files()' (not sure yet if it's useful).
gward
[svn r13009] Added 'dry_run' flag to most functions (to support the "shadow methods" that wrap them in the Command class). Fixed 'copy_file()' to use '_copy_file_contents()', not 'copyfile()' from shutil module -- no reference to shutil anymore. Added "not copying" announcement in 'copy_file()'. Wee comment fix.
gward
[svn r13008] Changed to use the method versions of 'copy_file()', 'copy_tree()', and 'make_file()'-- that way, the verbose and dry-run flags are handled for free.
gward
[svn r12996] Replaced the last attempt at an "unreadline" with one that actually works on non-seekable file-like objects, such as URLs. (Oops.)
gward
[svn r12987] Added 'linestart' array and 'unreadline()' method (makes parsing a lot easier).
gward
[svn r12950] Changes to allow passing an open file to the constructor (to support ProcessHierarchy's changes to support reading from a remote URL in ProcessDatabase).
gward
[svn r12940] First checkin of real Distutils command modules.
gward
[svn r12939] Obsolete source file -- command options are actually implemented in a much less formalistic way. Just keeping this around for possible future reference.
gward
[svn r12938] First checkin of real Distutils code.
gward
[svn r12863] Added collapse_ws option.
gward
[svn r12406] Added 'warn' method.
gward
[svn r12363] Added: mems.lib.text_file: provides TextFile class for parsing text files with (optional) comment stripping, blank line skipping, whitespace removal, and line joining with trailing backslashes.
fdrake
[svn r12342] get_config_h_filename(): Fix to work with current Python installations; it was picking up a stale config.h from an overwritten installation.
fdrake
[svn r12282] Update and add docstrings.
gward
[svn r12279] Another patch from Fred: factored _init_posix into get_config_h_filename, get_makefile_filename, parse_config_h, and parse_makefile.
gward
[svn r12189] Applied Fred's patch to fix the bugs that John Skaller noticed.
gward
[svn r12157] Fred's sysconfig module.
gward
[svn r12153] initial import by hgimportsvn
  1. Prev
  2. Next