summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_lib.py
Commit message (Collapse)AuthorAgeFilesLines
* added missing module docstringTarek Ziadé2009-01-251-0/+5
|
* Issue #5052: removed backward compatibility information (out of date)Tarek Ziadé2009-01-251-2/+0
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* Restore Python 2.1 compatibility (os.extsep was introduced in Python 2.2).Marc-André Lemburg2004-12-021-2/+4
|
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* Since build_py handles package data installation, the list of outputsFred Drake2004-07-281-0/+11
| | | | | can contain more than just .py files. Make sure we only report bytecode files for the .py files.
* Add comment to Distutil files about requiring 1.5.2 compatibility, asAndrew M. Kuchling2002-11-191-0/+2
| | | | suggested by PEP 291.
* Remove 'created by' lines; people can use CVS for this, and the information ↵Andrew M. Kuchling2002-11-141-2/+0
| | | | is often out of date
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-5/+3
| | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing.
* Remove unneeded importAndrew M. Kuchling2002-05-301-1/+0
|
* Whitespace normalization.Fred Drake2001-12-061-6/+6
|
* Remove some debugging prints.Greg Ward2000-10-031-2/+0
|
* Typo fix.Greg Ward2000-10-021-1/+1
|
* Finished the overhaul of byte-compilation options: there's now a 6-wayGreg Ward2000-10-021-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 haveGreg Ward2000-10-011-1/+1
| | | | pure Python modules to compile.
* Reduced the 'bytecompile()' method to a one-line wrapper aroundGreg Ward2000-09-301-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 Ward2000-09-301-1/+2
|
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-251-0/+2
|
* Split 'run()' up into 'build()', 'install()', and 'bytecompile()' (forGreg Ward2000-09-231-8/+28
| | | | easier extensibility).
* Whitespace tweaks.Greg Ward2000-09-231-35/+32
|
* Added --force (-f) option to force installation (including bytecodeGreg Ward2000-09-131-0/+3
| | | | compilation).
* Fixed imports from '*util' modules to not just import everything from util.Greg Ward2000-08-051-1/+1
|
* Rene Liebscher: fix 'skipping byte-compilation' message for grammaticalGreg Ward2000-08-021-1/+1
| | | | consistency.
* Some far-reaching naming changes:Greg Ward2000-05-271-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 Ward2000-05-231-1/+1
|
* Check if the claimed build directory doesn't exist, and warn that we don'tGreg Ward2000-05-201-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. Smith2000-05-131-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'tGregory P. Smith2000-05-121-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 Ward2000-05-071-1/+1
| | | | or getattr/setattr, is all that's needed.
* Added 'get_inputs()'.Greg Ward2000-03-311-0/+20
|
* Patch inspired by Bastian Kleineidam <calvin@cs.uni-sb.de>:Greg Ward2000-03-291-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 commandGreg Ward2000-03-291-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 Ward2000-03-231-1/+1
|
* Changed '__rcsid__' to '__revision__'.Greg Ward2000-03-021-1/+1
|
* Unfinished, untested implementation of the lovely baroque installation schemeGreg Ward2000-02-261-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()', andGreg Ward2000-02-181-2/+2
| | | | 'set_final_options()' to 'finalize_options()'.
* Renamed all 'options' class attributes to 'user_options'.Greg Ward2000-02-181-5/+6
|
* 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.
* 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).
* Added missing run of corresponding 'build' command.Greg Ward2000-01-301-0/+3
|
* Tweaked verbosity messages for byte-compilation.Greg Ward1999-10-031-2/+2
|
* Renamed many options to be consistent across commands.Greg Ward1999-09-291-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 Ward1999-09-131-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 Ward1999-08-291-6/+9
|
* Rearranged things so that compilation of .py files is the responsibilityGreg Ward1999-05-021-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 Ward1999-04-041-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 Ward1999-03-221-0/+42