Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch 1046644 - improved distutils support for SWIG. | Anthony Baxter | 2004-10-14 | 1 | -0/+5 |
| | |||||
* | Remove the recently-added get_distutil_options(), and just | Andrew M. Kuchling | 2003-01-27 | 1 | -0/+2 |
| | | | | have two tuples listing the legal keywords for setup() and Extension() | ||||
* | [Part of patch #641685] Add .dylib as an extension for shared libraries | Andrew M. Kuchling | 2002-11-27 | 1 | -1/+1 |
| | |||||
* | Add missing import | Andrew M. Kuchling | 2002-11-20 | 1 | -1/+1 |
| | |||||
* | Remove 'created by' lines; people can use CVS for this, and the information ↵ | Andrew M. Kuchling | 2002-11-14 | 1 | -2/+0 |
| | | | | is often out of date | ||||
* | Allow unknown keyword arguments to the Extension class, and warn about them. | Andrew M. Kuchling | 2002-11-13 | 1 | -1/+14 |
| | |||||
* | This patch fixes the following bugs: | Gustavo Niemeyer | 2002-11-05 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#413582] g++ must be called for c++ extensions [#454030] distutils cannot link C++ code with GCC topdir = "Lib/distutils" * bcppcompiler.py (BCPPCompiler.create_static_lib): Fixed prototype, removing extra_preargs and extra_postargs parameters. Included target_lang parameter. (BCPPCompiler.link): Included target_lang parameter. * msvccompiler.py (MSVCCompiler.create_static_lib): Fixed prototype, removing extra_preargs and extra_postargs parameters. Included target_lang parameter. (MSVCCompiler.link): Included target_lang parameter. * ccompiler.py (CCompiler): New language_map and language_order attributes, used by CCompiler.detect_language(). (CCompiler.detect_language): New method, will return the language of a given source, or list of sources. Individual source language is detected using the language_map dict. When mixed sources are used, language_order will stablish the language precedence. (CCompiler.create_static_lib, CCompiler.link, CCompiler.link_executable, CCompiler.link_shared_object, CCompiler.link_shared_lib): Inlcuded target_lang parameter. * cygwinccompiler.py (CygwinCCompiler.link): Included target_lang parameter. * emxccompiler.py (EMXCCompiler.link): Included target_lang parameter. * mwerkscompiler.py (MWerksCompiler.link): Included target_lang parameter. * extension.py (Extension.__init__): New 'language' parameter/attribute, initialized to None by default. If provided will overlap the automatic detection made by CCompiler.detect_language(), in build_ext command. * sysconfig.py (customize_compiler): Check Makefile for CXX option, and also the environment variable CXX. Use the resulting value in the 'compiler_cxx' parameter of compiler.set_executables(). * unixccompiler.py (UnixCCompiler): Included 'compiler_cxx' in executables dict, defaulting to 'cc'. (UnixCCompiler.create_static_lib): Included target_lang parameter. (UnixCCompiler.link): Included target_lang parameter, and made linker command use compiler_cxx, if target_lang is 'c++'. * command/build_ext.py (build_ext.build_extension): Pass new ext.language attribute to compiler.link_shared_object()'s target_lang parameter. If ext.language is not provided, detect language using compiler.detect_language(sources) instead. * command/config.py (config._link): Pass already available lang parameter as target_lang parameter of compiler.link_executable(). | ||||
* | Add a new definition to Extension objects: depends. | Jeremy Hylton | 2002-06-12 | 1 | -0/+4 |
| | | | | | depends is a list of files that the target depends, but aren't direct sources of the target. think .h files. | ||||
* | [Patch #536769] Add -Xcompiler flag for adding arguments and switches for | Andrew M. Kuchling | 2002-03-29 | 1 | -0/+2 |
| | | | | the compiler | ||||
* | Suggested by Pete Shinners: treat .m and .mm files as source code. | Andrew M. Kuchling | 2001-12-21 | 1 | -1/+1 |
| | | | | | | Question for Jack Jansen: is this reasonable? Candidate for 2.2 release branch (if Jack thinks it's OK). | ||||
* | Whitespace normalization. | Fred Drake | 2001-12-06 | 1 | -2/+2 |
| | |||||
* | Back out conversion to string methods; the Distutils is intended to work | Andrew M. Kuchling | 2001-03-22 | 1 | -2/+2 |
| | | | | with 1.5.2 | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -2/+2 |
| | |||||
* | Added 'read_setup_file()' to read old-style Setup files. Could make life | Greg Ward | 2000-09-17 | 1 | -2/+110 |
| | | | | | | easier for people porting Makefile.pre.in-based extensions to Distutils. Also loosened argument-checking in Extension constructor to make life easier for 'read_setup_file()'. | ||||
* | Rene Liebscher: ext.export_symbols is now always a list (added 'or []'). | Greg Ward | 2000-08-13 | 1 | -1/+1 |
| | |||||
* | Typo fix in docstring. | Greg Ward | 2000-08-13 | 1 | -2/+1 |
| | |||||
* | Removed 'export_symbol_file'. | Greg Ward | 2000-08-02 | 1 | -8/+1 |
| | | | | | 'export_symbols' can be None (not sure this is a good idea: it's inconsistent with every other instance attribute of Extension). | ||||
* | Revised docstring so 'sources' isn't necessarily all C/C++ files (to | Greg Ward | 2000-06-24 | 1 | -3/+5 |
| | | | | accomodate SWIG interface files, resource files, etc.). | ||||
* | Provides the Extension class, a nicer way to describe C/C++ extensions than | Greg Ward | 2000-05-31 | 1 | -0/+115 |
the old (ext_name, build_info) tuple. |