summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_ext.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 79558 via svnmerge fromEzio Melotti2010-08-021-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79558 | florent.xicluna | 2010-04-01 21:17:09 +0300 (Thu, 01 Apr 2010) | 2 lines #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote. ........
* complementary fix for #7115Tarek Ziadé2009-10-131-2/+4
|
* Fixed #7115: using paths instead of dotted name for extensions works too in ↵Tarek Ziadé2009-10-121-0/+2
| | | | distutils.command.build_ext
* #7068: Fixed the partial renaming that occured in r72594Tarek Ziadé2009-10-061-1/+1
|
* Fixed #7064: making sure get_ext_filename is called as Setuptools is ↵Tarek Ziadé2009-10-051-1/+2
| | | | assuming so it doesn't break it
* removed unecessary lines for clarity and added a the same test than in trunk ↵Tarek Ziadé2009-09-091-3/+0
| | | | for the inplace
* Merged revisions 73954 via svnmerge fromTarek Ziadé2009-07-111-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73954 | tarek.ziade | 2009-07-11 19:21:00 +0200 (Sat, 11 Jul 2009) | 1 line reverted changes for #6459 (doesn't apply on 2.x) ........
* Merged revisions 73946 via svnmerge fromTarek Ziadé2009-07-111-4/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' ........
* Merged revisions 73790 via svnmerge fromTarek Ziadé2009-07-031-2/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r73790 | tarek.ziade | 2009-07-03 10:22:56 +0200 (Fri, 03 Jul 2009) | 1 line Fixed #6403 : package path usage for build_ext ........
* Merged revisions 72781 via svnmerge fromTarek Ziadé2009-05-191-11/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72781 | tarek.ziade | 2009-05-19 18:17:21 +0200 (Tue, 19 May 2009) | 1 line fixed the 'package' option of build_ext ........
* Merged revisions 72758 via svnmerge fromTarek Ziadé2009-05-181-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72758 | tarek.ziade | 2009-05-18 10:03:37 +0200 (Mon, 18 May 2009) | 1 line Fixed the library extension when distutils build_ext is used inplace ........
* Merged revisions 72593 via svnmerge fromBenjamin Peterson2009-05-121-14/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72593 | benjamin.peterson | 2009-05-12 16:06:05 -0500 (Tue, 12 May 2009) | 1 line the compiler attribute is used in setup.py; can't rename ........
* Merged revisions 72585 via svnmerge fromTarek Ziadé2009-05-121-42/+45
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72585 | tarek.ziade | 2009-05-12 19:07:14 +0200 (Tue, 12 May 2009) | 1 line fixed #5977: distutils build_ext.get_outputs was not using the inplace option ........
* Merged revisions 72531 via svnmerge fromTarek Ziadé2009-05-101-45/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72531 | tarek.ziade | 2009-05-10 12:12:08 +0200 (Sun, 10 May 2009) | 1 line fixed #5984 and improved test coverage ........
* Merged revisions 69316 via svnmerge fromTarek Ziadé2009-02-051-3/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69316 | tarek.ziade | 2009-02-05 23:52:52 +0100 (Thu, 05 Feb 2009) | 1 line Fixed #5132: enable extensions to link on Solaris ........
* 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
|
* Only import msvccompiler on win32 platforms.Jeremy Hylton2002-06-181-11/+11
|
* Extend dependency tracking so that .o files are rebuilt.Jeremy Hylton2002-06-131-4/+2
| | | | | | | | | | Two new tests are needed: Don't skip building an extension if any of the depends files are newer than the target. Pass ext.depends to compiler.compile() so that it can track individual files.
* Add a new definition to Extension objects: depends.Jeremy Hylton2002-06-121-1/+2
| | | | | depends is a list of files that the target depends, but aren't direct sources of the target. think .h files.
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-2/+18
|
* Make setup.py less chatty by default.Jeremy Hylton2002-06-041-9/+9
| | | | | | | | | | | | | | | This is a conservative version of SF patch 504889. It uses the log module instead of calling print in various places, and it ignores the verbose argument passed to many functions and set as an attribute on some objects. Instead, it uses the verbosity set on the logger via the command line. The log module is now preferred over announce() and warn() methods that exist only for backwards compatibility. XXX This checkin changes a lot of modules that have no test suite and aren't exercised by the Python build process. It will need substantial testing.
* Append the PC specific include 'PC' and library 'PCBuild' directoriesThomas Heller2002-04-251-1/+8
| | | | | | | under NT - this allows distutils to work with the CVS version or the source distribution. Wrap a long line.
* OS/2 patches by Andrew I MacIntyre for distutils.Marc-André Lemburg2002-01-311-1/+26
| | | | Closes patch #435381.
* SWIGing a source file <name>.i silently overwrites <name>.c if it isThomas Heller2002-01-181-2/+2
| | | | | | | | | | | | | | present - at least the swigged file should be named <name>_wrap.c as this is also SWIG's default. (Even better would be to generate the wrapped sources in a different location, but I'll leave this for later). Newer versions of SWIG don't accept the -dnone flag any more. Since virtually nobody uses SWIG with distutils, this should do no harm. Suggested be Martin Bless on c.l.p.
* Visious hackery to solve a build-control problem related to our use ofFred Drake2001-12-061-0/+11
| | | | | | | distutils for the library modules built as shared objects. A better solution appears possible, but with the threat that the distutils becomes more magical ("complex"). This closes SF bug #458343.