summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Build reorg:Greg Ward2000-03-011-16/+41
| | | | | | | | | | | | | | * 'build_dir' -> 'build_lib', which by default takes its value straight from 'build_lib' in the 'build' command * added 'build_temp' and 'inplace' options * change 'build_extensions()' to put object files (compiler turds) in 'build_temp' dir * complicated the name-of-extension-file shenanigans in 'build_extensions()' to support "in-place" extension building, i.e. put the extension right into the source tree (handy for developers) * added 'get_ext_fullname()', renamed 'extension_filename()' to 'get_ext_filename()', and tweaked the latter a bit -- all to support the new filename shenanigans
* Renamed 'set_default_options()' to 'initialize_options()', andGreg Ward2000-02-181-5/+5
| | | | 'set_final_options()' to 'finalize_options()'.
* Renamed all 'options' class attributes to 'user_options'.Greg Ward2000-02-181-19/+20
|
* 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.
* Path from Thomas Heller: resurrect the .def file kludge while preserving theGreg Ward2000-02-101-2/+14
| | | | /export option mini-kludge.
* Added 'debug' option, and changed compile/link calls to use it.Greg Ward2000-02-091-4/+12
|
* Ditch .def file kludge for (much smaller) /export option kludge.Greg Ward2000-02-081-12/+1
|
* Tweaked various comments, docstrings, and error messages.Greg Ward2000-02-051-2/+12
|
* Improved an error message.Greg Ward2000-02-031-2/+5
| | | | Announce when we start building each extension (better feedback).
* Added 'description' class attribute to every command class (to help theGreg Ward2000-01-301-5/+10
| | | | | | | '--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).
* Changed 'build_extensions()' so 'sources' can be a list or tuple; andGreg Ward1999-12-121-3/+4
| | | | | call CCompiler method 'compile()' with 'include_dirs' not 'includes'. Fixed stupid typo in 'get_source_files()'.
* Pass 'force' flag to 'new_compiler()'.Greg Ward1999-10-031-2/+3
|
* Added 'package' option.Greg Ward1999-09-291-7/+44
| | | | | | | | | | | | Catch up with renamed 'platdir' -> 'build_platlib' option in 'build'. Don't call 'set_final_options()' in 'run()' anymore -- that's now guaranteed to be taken care of for us by the Distribution instance. If 'include_dirs' is a string, split it on os.pathsep (this is half- hearted -- support for setting compile/link options on the command line is totally lame and probably won't work at all). Added 'get_source_files()' for use by 'dist' command. Added code to 'build_extensions()' to figure out the "def file" to use with MSVC++ and add it to the linker command line as an "extra_postarg".
* Some option changes:Greg Ward1999-09-211-17/+30
| | | | | | | | | | - rename 'dir' to 'build_dir' - take 'package' from distribution option 'ext_package' - take 'extensions' from distribution option 'ext_modules' - take 'include_dirs' from distribution Name keyword args explictly when calling CCompiler methods. Overhauled how we generate extension filenames (in 'extension_filename() and 'build_extension()') to take 'package' option into account.
* Added support for 'package' option, including where to link theGreg Ward1999-09-131-8/+11
| | | | actual extension module to.
* Changed to reflect the new "command options" regime -- in particular,Greg Ward1999-09-081-7/+15
| | | | | we no longer explicitly pull distribution options out of our Distribution object, but rather let the Distribution put them into the command object.
* Patch from Perry Stoll: pass 'build_info' to link method.Greg Ward1999-08-291-2/+1
|
* Implements the 'build_ext' command for building C/C++ extension modules.Greg Ward1999-08-141-0/+192