summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_py.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Build reorg: change 'build_dir' option to 'build_lib'.Greg Ward2000-03-011-8/+8
|
* Renamed 'set_default_options()' to 'initialize_options()', andGreg Ward2000-02-181-2/+2
| | | | 'set_final_options()' to 'finalize_options()'.
* Renamed all 'options' class attributes to 'user_options'.Greg Ward2000-02-181-2/+3
|
* Renamed all command classes so they're exactly the same as the name of theGreg Ward2000-02-181-1/+1
| | | | | command itself: no more of this "FooBar class for foo_bar command" silliness.
* Patch from Joe Van Andel: fix arg to % operator in warning.Greg Ward2000-02-021-2/+2
|
* Added 'description' class attribute to every command class (to help theGreg Ward2000-01-301-0/+2
| | | | | | | '--help-commands' option). Shuffled imports around in a few command modules to avoid expensive up-front import of sysconfig (and resulting delays in generating list of all commands).
* Ditch unneeded imports.Greg Ward2000-01-171-1/+0
|
* Fixed 'find_package_modules()' to ensure that we never build (and thusGreg Ward1999-12-121-11/+24
| | | | | | | | install) the setup script itself. Fixed 'build_module()' so we do *not* preserve file mode (which means we can install read-only files, which makes the next installation of this distribution fail -- at least under Unix); added a comment explaining this.
* [from 1999-11-04]Greg Ward1999-12-031-5/+14
| | | | | | | | Bunch of little bug fixes that appeared in building non-packagized distributions. Mainly: - brain-slip typo in 'get_package_dir()' - don't try to os.path.join() an empty path tuple -- it doesn't like it - more type-safety in 'build_module()'
* Don't import what we don't use.Greg Ward1999-10-031-1/+1
|
* Renamed 'dir' option to be consistent with other commands.Greg Ward1999-09-291-35/+66
| | | | | | | | | | | | Don't call 'set_final_options()' in 'run()' anymore -- that's now guaranteed to be taken care of for us by the Distribution instance. Rearranged to bit to allow outsiders (specifically, the 'dist' command) to find out what modules we would build: - 'find_modules()' renamed to 'find_package_modules()' - most of 'build_modules()' abstracted out to 'find_modules()' - added 'get_source_files()' (for the 'dist' command to use) - drastically simplified 'build_modules()' -- now just a wrapper around 'find_modules()' and 'build_module()'
* Basically a complete rewrite to support dealing with modules in wholeGreg Ward1999-09-211-36/+197
| | | | packages and searching for source files by 'package_dir'.
* Comment addition.Greg Ward1999-09-131-0/+3
|
* Changed to reflect the new "command options" regime -- in particular,Greg Ward1999-09-081-7/+7
| | | | | we no longer explicitly pull distribution options out of our Distribution object, but rather let the Distribution put them into the command object.
* Patch from Perry Stoll: OK for list of modules to be empty.Greg Ward1999-08-291-0/+4
|
* Rearranged things so that compilation of .py files is the responsibilityGreg Ward1999-05-021-27/+1
| | | | | | | | | 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.
* Changed to use the method versions of 'copy_file()', 'copy_tree()',Greg Ward1999-04-041-6/+5
| | | | | and 'make_file()'-- that way, the verbose and dry-run flags are handled for free.
* First checkin of real Distutils command modules.Greg Ward1999-03-221-0/+113