summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Oops: 'build_extensions()' no longer takes an 'extensions' list.Greg Ward2000-03-301-1/+1
|
* Put the Python "system" include dir last, rather than first.Greg Ward2000-03-291-1/+3
|
* Added 'get_outputs()' in prepartion for the 'bdist' command.Greg Ward2000-03-291-8/+29
| | | | | | | Changed signature of 'build_extensions()': no longer takes the extension list, but uses 'self.extensions' (just like 'get_outputs()' has to) Moved call to 'check_extensions_list()' from 'run()' to 'build_extensions()', again for consistency with 'get_outputs()'.
* Fixed a bunch of screwed-up logic and inconsistent terminology.Greg Ward2000-03-261-19/+33
| | | | | Fixed 'build_extensions()' to pay attention to the 'rpath' element of the 'build_info' dictionary.
* Took out what looks like old debugging code that probably should neverGreg Ward2000-03-221-2/+1
| | | | | have been checked in: was passing the PLAT environment variable as the 'plat' argument to 'new_compiler()'.
* In 'finalize_options()': if 'self.libs' is a string, make it a singleton list.Greg Ward2000-03-181-0/+3
|
* Don't pass 'keep_dir' to 'compile()' method of CCompiler -- no longer used.Greg Ward2000-03-061-3/+4
| | | | | Don't assume that the 'libraries' and 'library_dirs' elements of the build info dict are always lists.
* 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
|
* If the "build_lib" command built any C libraries, link with them allGreg Ward2000-03-021-3/+12
| | | | | | | when building extensions (uses build_lib's 'get_library_names()' method). Ensure that the relative structure of source filenames is preserved in the temporary build tree, eg. foo/bar.c compiles to build/temp.<plat>/foo/bar.o.
* 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