summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_lib.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-8/+8
| | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* Issue #17177: Stop using imp in distutilsBrett Cannon2013-06-151-3/+3
|
* More fixes for PEP 3147 compliance in distutils (#11254)Éric Araujo2011-11-031-2/+5
|
* Fix closes Issue11439 Remove the SVN keywords from the code as it is no ↵Senthil Kumaran2011-07-281-2/+0
| | | | longer applicable in hg. Patch Contributed by Neil Muller.
* Merged revisions 75669-75671 via svnmerge fromTarek Ziadé2009-10-251-0/+6
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode ........ r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line fixed finally state in distutils.test_util ........ r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line fixed warning and error message ........
* Merged revisions 72577 via svnmerge fromTarek Ziadé2009-05-121-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72577 | tarek.ziade | 2009-05-12 09:01:29 +0200 (Tue, 12 May 2009) | 1 line removing the assert statement so the code works when Python is run with -O ........
* Merged revisions 72535 via svnmerge fromTarek Ziadé2009-05-101-4/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72535 | tarek.ziade | 2009-05-10 13:42:46 +0200 (Sun, 10 May 2009) | 1 line Added tests form install_lib and pep8-fied the module ........
* Merged revisions 68840,68881,68943,68945 via svnmerge fromBenjamin Peterson2009-01-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68840 | andrew.kuchling | 2009-01-20 20:15:43 -0600 (Tue, 20 Jan 2009) | 1 line Add some items ........ r68881 | andrew.kuchling | 2009-01-23 21:28:18 -0600 (Fri, 23 Jan 2009) | 1 line Add various items ........ r68943 | tarek.ziade | 2009-01-25 16:09:10 -0600 (Sun, 25 Jan 2009) | 1 line Issue #5052: removed backward compatibility information (out of date) ........ r68945 | tarek.ziade | 2009-01-25 16:11:04 -0600 (Sun, 25 Jan 2009) | 1 line added missing module docstring ........
* General cleanup, raise normalization in Lib/distutils.Collin Winter2007-08-301-29/+15
|
* Remove RISCOS supportSkip Montanaro2007-08-161-4/+1
|
* Remove functions in string module that are also string methods. Also remove:Neal Norwitz2007-04-171-1/+1
| | | | | * all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
* 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.