summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_clib.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.