summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
Commit message (Collapse)AuthorAgeFilesLines
* The first concrete subclass of CCompiler: defines a barebones Unix C compiler.Greg Ward1999-07-101-0/+192
|
* The abstract base class that defines the C/C++ compiler abstraction model.Greg Ward1999-07-101-0/+313
|
* Added a self-berating command relating to installation directories forGreg Ward1999-07-101-0/+8
| | | | module distributions that contain platform-specific files.
* Don't pollute importer's namespace with type objects from types modules.Greg Ward1999-07-101-2/+11
| | | | Added DistutilsPlatformError.
* On David Ascher's recommendation: reversed order of 'utime()' andGreg Ward1999-06-081-2/+5
| | | | 'chmod()' in 'copy_file()'.
* Hacked 'set_final_options()' to set (hopefully) appropriate values forGreg Ward1999-06-081-7/+56
| | | | | | | 'install_site_lib' and install_site_platlib' on non-POSIX platforms. Should at least work for NT, as this is adopted from Amos Latteier's NT patches. Also added extensive comments bitching about the inadequacy of the current model, both under POSIX and NT (and probably other) systems.
* Added the 'have_run' dictionary to Distribution, and changedGreg Ward1999-06-081-3/+33
| | | | | | | 'run_command()' to refer to it before attempting to run a command -- that way, command classes can freely invoke other commands without fear of duplicate execution. Beefed up some comments and docstrings.
* Now handles NT, through '_init_nt()' function (courtesy ofGreg Ward1999-06-081-0/+11
| | | | Amos Latteier <amos@aracnet.com>).
* The 'copy_file()' and 'copy_tree()' functions in util.py now haveGreg Ward1999-05-022-20/+38
| | | | | | | 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.
* Rearranged things so that compilation of .py files is the responsibilityGreg Ward1999-05-025-42/+73
| | | | | | | | | 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.
* 'warn()' method now takes an optional line number.Greg Ward1999-04-151-4/+6
|
* Added all the "external action" methods (to make handling the verboseGreg Ward1999-04-041-1/+131
| | | | | | 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).
* Added 'dry_run' flag to most functions (to support the "shadow methods"Greg Ward1999-04-041-15/+28
| | | | | | | | 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.
* Changed to use the method versions of 'copy_file()', 'copy_tree()',Greg Ward1999-04-043-12/+7
| | | | | and 'make_file()'-- that way, the verbose and dry-run flags are handled for free.
* Replaced the last attempt at an "unreadline" with one that actuallyGreg Ward1999-03-291-29/+18
| | | | works on non-seekable file-like objects, such as URLs. (Oops.)
* Added 'linestart' array and 'unreadline()' method (makes parsing a lot easier).Greg Ward1999-03-261-1/+30
|
* Changes to allow passing an open file to the constructor (to supportGreg Ward1999-03-231-14/+13
| | | | | ProcessHierarchy's changes to support reading from a remote URL in ProcessDatabase).
* First checkin of real Distutils command modules.Greg Ward1999-03-226-0/+448
|
* Obsolete source file -- command options are actually implemented inGreg Ward1999-03-221-111/+0
| | | | | a much less formalistic way. Just keeping this around for possible future reference.
* First checkin of real Distutils code.Greg Ward1999-03-225-0/+1131
|
* Added collapse_ws option.Greg Ward1999-03-081-0/+5
|
* Added 'warn' method.Greg Ward1999-01-181-1/+10
|
* Added: mems.lib.text_file: provides TextFile class for parsing textGreg Ward1999-01-131-0/+206
| | | | | files with (optional) comment stripping, blank line skipping, whitespace removal, and line joining with trailing backslashes.
* get_config_h_filename(): Fix to work with current PythonFred Drake1999-01-111-2/+2
| | | | | installations; it was picking up a stale config.h from an overwritten installation.
* Update and add docstrings.Fred Drake1999-01-061-5/+13
|
* Another patch from Fred: factored _init_posix intoGreg Ward1999-01-061-18/+37
| | | | | get_config_h_filename, get_makefile_filename, parse_config_h, and parse_makefile.
* Applied Fred's patch to fix the bugs that John Skaller noticed.Greg Ward1998-12-221-6/+14
|
* Fred's sysconfig module.Greg Ward1998-12-181-0/+106
|
* Initial checkin of distutils source files.Greg Ward1998-12-182-0/+301