summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_clib.py
Commit message (Collapse)AuthorAgeFilesLines
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* 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-3/+0
| | | | is often out of date
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-3/+2
| | | | | | | | | | | | | | | 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.
* Whitespace normalization.Fred Drake2001-12-061-2/+2
|
* [Bug #414032] Make the 'sdist' command work when the distribution containsAndrew M. Kuchling2001-08-101-2/+18
| | | | | | libraries. This is done by adding a .get_source_files() method, contributed by Rene Liebscher and slightly modified. Remove an unused local variable spotted by PyChecker
* Untabified.Greg Ward2000-10-141-1/+1
|
* Standardized whitespace around function calls.Greg Ward2000-09-301-37/+37
|
* Added 'boolean_options' list to support config file parsing.Greg Ward2000-09-251-0/+2
|
* Call 'customize_compiler()' after getting CCompiler object.Greg Ward2000-06-251-0/+2
|
* Changed so all the help-generating functions are defined, at module-level,Greg Ward2000-06-241-1/+6
| | | | | | | in the module of the command classes that have command-specific help options. This lets us keep the principle of lazily importing the ccompiler module, and also gets away from defining non-methods at class level.
* Stylistic/formatting changes to Rene Liebscher's '--help-xxx' patch.Greg Ward2000-06-241-1/+2
|
* Patch from Rene Liebscher: this adds "--help-foo" options to list theGreg Ward2000-06-071-1/+5
| | | | | | | | | | values that "--foo" can take for various commands: eg. what formats for "sdist" and "bdist", what compilers for "build_ext" and "build_clib". I have *not* reviewed this patch; I'm checking it in as-is because it also fixes a paper-bag-over-head bug in bdist.py, and because I won't have time to review it properly for several days: so someone else can test it for me, instead!
* Normalized all the end-of-class lines.Greg Ward2000-05-251-1/+1
|
* Fix from Lyle Johnson: add the '--compiler' option.Gregory P. Smith2000-05-121-2/+8
|
* Cleaned up/simplified error-handling:Greg Ward2000-04-151-7/+7
| | | | | | | | | | | | | - DistutilsOptionError is now documented as it's actually used, ie. to indicate bogus option values (usually user options, eg. from the command-line) - added DistutilsSetupError to indicate errors that definitely arise in the setup script - got rid of DistutilsValueError, and changed all usage of it to either DistutilsSetupError or ValueError as appropriate - simplified a bunch of option get/set methods in Command and Distribution classes -- just pass on AttributeError most of the time, rather than turning it into something else
* Added '--force' option -- very clear what it means for building (ignoreGreg Ward2000-04-101-1/+5
| | | | | timestamps), so every build_* command has 'self.force', which follows the 'build' command if not set by the user.
* Removed some old test code: don't set 'plat' when calling 'new_compiler()'.Greg Ward2000-03-311-2/+1
|
* Catch up with change to CCompiler API: call 'create_static_lib()', notGreg Ward2000-03-101-3/+3
| | | | 'link_static_lib()'.
* Don't pass 'keep_dir' to 'compile()' method of CCompiler -- no longer used.Greg Ward2000-03-061-1/+0
|
* Renamed 'build_lib' command to 'build_clib':Greg Ward2000-03-021-3/+3
| | | | | | * replaced build_lib.py with build_clib.py * renamed the class in build_clib.py * changed all references to 'build_lib' command in other command classes
* Changed '__rcsid__' to '__revision__'.Greg Ward2000-03-021-1/+1
|
* Added command description.Greg Ward2000-03-021-14/+48
| | | | | | | | | | | | Added 'build_clib' and 'build_temp' options (where to put C libraries and where to put temporary compiler by-products, ie. object files). Moved the call to 'check_library_list()' from 'run()' to 'finalize_options()' -- that way, if we're going to crash we do so earlier, and we guarantee that the library list is valid before we do anything (not just run). Disallow directory separators in library names -- the compiled library always goes right in 'build_clib'. Added 'get_library_names()', so the "build_ext" command knows what libraries to link every extension with.
* Renamed 'set_default_options()' to 'initialize_options()', andGreg Ward2000-02-181-4/+4
| | | | 'set_final_options()' to 'finalize_options()'.
* Renamed all 'options' class attributes to 'user_options'.Greg Ward2000-02-181-3/+4
|
* 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 'debug' option, and changed compile/link calls to use it.Greg Ward2000-02-091-3/+9
|
* New command to build C (and C++, hopefully) libraries needed by extensionsGreg Ward2000-02-051-0/+161
in the current distribution: motivated by PIL's libImaging.