summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
Commit message (Collapse)AuthorAgeFilesLines
* #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains ↵Florent Xicluna2010-04-011-1/+1
| | | | a double-quote.
* reverting partially distutils to its 2.6.x state so 2.7a4 looks more like ↵Tarek Ziadé2010-03-051-123/+77
| | | | the 2.7b1 in this. the whole revert will occur after a4 is tagged
* added local get_platform/set_platform APIs in distutils.sysconfigTarek Ziadé2010-01-261-3/+1
|
* taking sysconfig out of distutilsTarek Ziadé2010-01-231-19/+18
|
* massive import cleaning in DistutilsTarek Ziadé2009-12-211-1/+2
|
* reverted changes for #6459 (doesn't apply on 2.x)Tarek Ziadé2009-07-111-3/+3
|
* fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'Tarek Ziadé2009-07-111-3/+3
|
* cleaned up distutils.build_ext moduleTarek Ziadé2009-07-111-26/+16
|
* PendingDeprecationWarning -> DeprecationWarning in build_extTarek Ziadé2009-07-091-2/+2
|
* Sets the compiler attribute to keep the old behavior for third-party packages.Tarek Ziadé2009-07-081-3/+19
|
* Fixed #6377: distutils compiler switch ignored (and added a deprecation ↵Tarek Ziadé2009-07-061-23/+55
| | | | warning if compiler is not used as supposed = a string option)
* Fixed #6403 : package path usage for build_extTarek Ziadé2009-07-031-4/+10
|
* Fixed 6365: wrong inplace location for build_ext if the extension had dotsTarek Ziadé2009-06-291-4/+4
|
* fixed the 'package' option of build_extTarek Ziadé2009-05-191-11/+13
|
* Fixed the library extension when distutils build_ext is used inplaceTarek Ziadé2009-05-181-3/+3
|
* the compiler attribute is used in setup.py; can't renameBenjamin Peterson2009-05-121-14/+14
|
* fixed #5977: distutils build_ext.get_outputs was not using the inplace optionTarek Ziadé2009-05-121-42/+45
|
* fixed #5984 and improved test coverageTarek Ziadé2009-05-101-45/+25
|
* catching msvc9compiler error as wellTarek Ziadé2009-03-311-1/+1
|
* #5583 Added optional Extensions in DistutilsTarek Ziadé2009-03-311-1/+7
|
* Issue #5052: make Distutils compatible with 2.3 again.Tarek Ziadé2009-02-271-4/+14
|
* removed unused importTarek Ziadé2009-02-261-1/+1
|
* Fixed #5132: enable extensions to link on SolarisTarek Ziadé2009-02-051-3/+5
|
* Issue #5052: removed backward compatibility information (out of date)Tarek Ziadé2009-01-251-2/+0
|
* Update distutils so that it triggers no warnings when run under -3.Brett Cannon2008-08-171-1/+1
|
* Fixed test_distutils error (test_build_ext) on VC6.Hirokazu Yamamoto2008-08-141-1/+4
|
* Add --user option to build_extChristian Heimes2008-05-091-1/+15
|
* Issue #2513: enable 64bit cross compilation on windows.Mark Hammond2008-04-071-3/+27
|
* Removed uses of dict.has_key() from distutils, and uses ofGuido van Rossum2008-02-211-1/+1
| | | | | | callable() from copy_reg.py, so the interpreter now starts up without warnings when '-3' is given. More work like this needs to be done in the rest of the stdlib.
* Fixed paths to Windows build directories in build_ext.pyChristian Heimes2008-02-031-3/+3
| | | | Use vsbuild instead of devenv in build.bat and _bsddb.vcproj
* Applied my patch #1455 with some extra fixes for VS 2005Christian Heimes2007-12-031-1/+13
| | | | | The new msvc9compiler module supports VS 2005 and VS 2008. I've also fixed build_ext to support PCbuild8 and PCbuild9 and backported my fix for xxmodule.c from py3k. The old code msvccompiler is still in place in case somebody likes to build an extension with VS 2003 or earlier. I've also updated the cygwin compiler module for VS 2005 and VS 2008. It works with VS 2005 but I'm unable to test it with VS 2008. We have to wait for a new version of cygwin.
* Bug #1706381: Specifying the SWIG option "-c++" in the setup.py fileGeorg Brandl2007-04-241-1/+2
| | | | | (as opposed to the command line) will now write file names ending in ".cpp" too.
* Patch #1569798: fix a bug in distutils when building Python from aGeorg Brandl2007-03-131-2/+2
| | | | directory within sys.exec_prefix.
* Bug #1600860: Search for shared python library in LIBDIR, notMartin v. Löwis2007-02-091-3/+12
| | | | | lib/python/config, on "linux" and "gnu" systems. Will backport.
* - Fix build failure on kfreebsd and on the hurd.Matthias Klose2006-12-031-1/+1
|
* Disable linking extensions with -lpython2.5 for darwin. This should fix bugRonald Oussoren2006-05-231-0/+5
| | | | #1487105.
* Patch #1429775: Link Python modules to libpython on linux ifMartin v. Löwis2006-04-101-2/+11
| | | | --enable-shared. Fixes #832799.
* Update compatibility comments to 2.1, corresponding to PEP 291 1.13.Martin v. Löwis2004-11-101-1/+1
|
* Patch 1046644 - improved distutils support for SWIG.Anthony Baxter2004-10-141-4/+23
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-2/+2
|
* Reverting local change checked in by mistake.Tim Peters2004-05-111-4/+3
|
* Added 2.3.3 and 2.3.4 to the release table. Added 2004 to the list ofTim Peters2004-05-111-3/+4
| | | | copyright years.
* Revert another local change that snuck into a whitespace normalizationTim Peters2004-01-181-2/+1
| | | | patch.
* Whitespace normalization.Tim Peters2004-01-181-1/+2
|
* 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-2/+0
| | | | is often out of date
* [Bug #550364] Use sysconfig.get_python_version()Andrew M. Kuchling2002-11-141-2/+2
|
* This patch fixes the following bugs:Gustavo Niemeyer2002-11-051-1/+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().
* [Patch #588809] Remove check of environment variables; sysconfig.py will do ↵Andrew M. Kuchling2002-11-041-9/+0
| | | | that now
* Fixes SF bug#614051: win32 build_ext problem.Thomas Heller2002-10-311-0/+2
|