Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization. | Fred Drake | 2001-12-06 | 1 | -6/+6 |
| | |||||
* | Remove some debugging prints. | Greg Ward | 2000-10-03 | 1 | -2/+0 |
| | |||||
* | Typo fix. | Greg Ward | 2000-10-02 | 1 | -1/+1 |
| | |||||
* | Finished the overhaul of byte-compilation options: there's now a 6-way | Greg Ward | 2000-10-02 | 1 | -15/+66 |
| | | | | | | | | | | | | choice between (compile, no-compile) * (optimize=0, optimize=1, optimize=2). Details: - added --no-compile option to complement --compile, which has been there for ages - changed --optimize (which never worked) to a value option, which expects 0, 1, or 2 - renamed 'bytecompile()' method to 'byte_compile()', and beefed it up to handle both 'compile' and 'optimize' options - fix '_bytecode_filenames()' to respect the new options | ||||
* | From 'run()', only call 'bytecompile()' if we actually have | Greg Ward | 2000-10-01 | 1 | -1/+1 |
| | | | | pure Python modules to compile. | ||||
* | Reduced the 'bytecompile()' method to a one-line wrapper around | Greg Ward | 2000-09-30 | 1 | -15/+4 |
| | | | | | 'util.byte_compile()'. Currently just reproduces the existing functionality -- doesn't use any of the fancy features in the new 'byte_compile()'. | ||||
* | Fixed 'run()' so it doesn't call 'bytecompile()' if 'install()' returned None. | Greg Ward | 2000-09-30 | 1 | -1/+2 |
| | |||||
* | Added 'boolean_options' list to support config file parsing. | Greg Ward | 2000-09-25 | 1 | -0/+2 |
| | |||||
* | Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (for | Greg Ward | 2000-09-23 | 1 | -8/+28 |
| | | | | easier extensibility). | ||||
* | Whitespace tweaks. | Greg Ward | 2000-09-23 | 1 | -35/+32 |
| | |||||
* | Added --force (-f) option to force installation (including bytecode | Greg Ward | 2000-09-13 | 1 | -0/+3 |
| | | | | compilation). | ||||
* | Fixed imports from '*util' modules to not just import everything from util. | Greg Ward | 2000-08-05 | 1 | -1/+1 |
| | |||||
* | Rene Liebscher: fix 'skipping byte-compilation' message for grammatical | Greg Ward | 2000-08-02 | 1 | -1/+1 |
| | | | | consistency. | ||||
* | Some far-reaching naming changes: | Greg Ward | 2000-05-27 | 1 | -5/+5 |
| | | | | | | | * Command method 'find_peer()' -> 'get_finalized_command()' * Command method 'run_peer()' -> 'run_command()' Also deleted the 'get_command_option()' method from Command, and fixed the one place where it was used (in "bdist_dumb"). | ||||
* | Fixed command description. | Greg Ward | 2000-05-23 | 1 | -1/+1 |
| | |||||
* | Check if the claimed build directory doesn't exist, and warn that we don't | Greg Ward | 2000-05-20 | 1 | -1/+6 |
| | | | | | have any Python modules to install (rather than bomb when we try to copy a non-existent directory). | ||||
* | Added '_bytecode_filenames()' method, and use it in 'get_outputs()' | Gregory P. Smith | 2000-05-13 | 1 | -4/+13 |
| | | | | | to ensure that compiled bytecode files are considered part of the output of the "install_lib" command. | ||||
* | Added --skip-build option, so lazy debuggers/testers (mainly me) don't | Gregory P. Smith | 2000-05-12 | 1 | -5/+10 |
| | | | | have to wade through all the 'build' output when testing installation. | ||||
* | Don't use 'set_option()' or 'get_option()' method -- direct attribute access, | Greg Ward | 2000-05-07 | 1 | -1/+1 |
| | | | | or getattr/setattr, is all that's needed. | ||||
* | Added 'get_inputs()'. | Greg Ward | 2000-03-31 | 1 | -0/+20 |
| | |||||
* | Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>: | Greg Ward | 2000-03-29 | 1 | -12/+7 |
| | | | | | use global __debug__ flag to determine if compiled files will be ".pyc" or ".pyo". Tweaked compilation output messages too. | ||||
* | Be sure to run both 'build_py' and 'build_ext', now that this command | Greg Ward | 2000-03-29 | 1 | -5/+47 |
| | | | | | | is responsible for installing all Python modules (pure and extensions). Added 'get_outputs()' in preparation for the 'bdist' command, and '_mutate_outputs()' to support 'get_outputs()'. | ||||
* | Fixed the class name. | Greg Ward | 2000-03-23 | 1 | -1/+1 |
| | |||||
* | Changed '__rcsid__' to '__revision__'. | Greg Ward | 2000-03-02 | 1 | -1/+1 |
| | |||||
* | Unfinished, untested implementation of the lovely baroque installation scheme | Greg Ward | 2000-02-26 | 1 | -14/+6 |
| | | | | | cooked up by Fred Drake and me. Only saved for posterity (whoever posterity is), as it is about to be ditched in favour of GvR's much simpler design. | ||||
* | Renamed 'set_default_options()' to 'initialize_options()', and | Greg Ward | 2000-02-18 | 1 | -2/+2 |
| | | | | 'set_final_options()' to 'finalize_options()'. | ||||
* | Renamed all 'options' class attributes to 'user_options'. | Greg Ward | 2000-02-18 | 1 | -5/+6 |
| | |||||
* | Renamed all command classes so they're exactly the same as the name of the | Greg Ward | 2000-02-18 | 1 | -1/+1 |
| | | | | | command itself: no more of this "FooBar class for foo_bar command" silliness. | ||||
* | Added 'description' class attribute to every command class (to help the | Greg Ward | 2000-01-30 | 1 | -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). | ||||
* | Added missing run of corresponding 'build' command. | Greg Ward | 2000-01-30 | 1 | -0/+3 |
| | |||||
* | Tweaked verbosity messages for byte-compilation. | Greg Ward | 1999-10-03 | 1 | -2/+2 |
| | |||||
* | Renamed many options to be consistent across commands. | Greg Ward | 1999-09-29 | 1 | -6/+4 |
| | | | | | | Tweaked some help strings to be consistent with documentation. Don't call 'set_final_options()' in 'run()' anymore -- that's now guaranteed to be taken care of for us by the Distribution instance. | ||||
* | Changed selection of installation directories (in 'set_final_options()') | Greg Ward | 1999-09-13 | 1 | -6/+14 |
| | | | | | so that pure Python modules are installed to the platform-specific directory if there are any extension modules in this distribution. | ||||
* | Patch from Perry Stoll: typo fix, make sure we only compile .py files. | Greg Ward | 1999-08-29 | 1 | -6/+9 |
| | |||||
* | Rearranged things so that compilation of .py files is the responsibility | Greg Ward | 1999-05-02 | 1 | -4/+33 |
| | | | | | | | | | 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 Ward | 1999-04-04 | 1 | -3/+1 |
| | | | | | and 'make_file()'-- that way, the verbose and dry-run flags are handled for free. | ||||
* | First checkin of real Distutils command modules. | Greg Ward | 1999-03-22 | 1 | -0/+42 |