summaryrefslogtreecommitdiff
path: root/setuptools/command/build_ext.py
Commit message (Collapse)AuthorAgeFilesLines
* Extract a helper to capture the temporary workaround. Ref #837.Jason R. Coombs2016-11-041-1/+11
|
* use consistent quotesPaul Kehrer2016-11-031-1/+1
|
* Support Python 3.3.0 for extension suffixPaul Kehrer2016-11-031-1/+1
| | | | | In setuptools 27.0+ extension building fails on Python 3.3.0 because the extension suffix is obtained using `SO` and not `EXT_SUFFIX` (which is used in 3.3.1 and above). See: https://hg.python.org/cpython/file/v3.3.0/Lib/distutils/command/build_ext.py#l673 This patch tries `EXT_SUFFIX` and falls back to `SO` if `EXT_SUFFIX` is falsey.
* Fix spacing after comment hash.stepshal2016-10-251-1/+1
|
* Fix quantity of blank lines.stepshal2016-10-181-2/+0
|
* Use EXT_SUFFIX instead of SO for py_limited_api renamingDonald Stufft2016-09-091-1/+1
|
* Fix quantity of blank lines after code object, class of function definition.stepshal2016-08-201-0/+2
|
* Extract variable for boolean expression for nicer indentation.Jason R. Coombs2016-08-191-2/+6
|
* Move import to the topJason R. Coombs2016-08-191-6/+3
|
* Move import to topJason R. Coombs2016-08-191-1/+1
|
* Reorganize importsJason R. Coombs2016-08-191-4/+4
|
* rename is_abi3 to py_limited_apiDaniel Holth2016-08-051-1/+3
|
* use abi3 extension if Extension().is_abi3Daniel Holth2016-08-031-0/+13
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+2
|
* build_ext: move block customizing compiler for shared lib into a functionCosimo Lupo2016-05-181-14/+22
|
* build_ext: always import _CONFIG_VARS from distutils.sysconfig instead of ↵Cosimo Lupo2016-05-041-8/+4
| | | | | | | | sysconfig otherwise `distutils.sysconfig.customize_compiler` does not configure OSX compiler for -dynamiclib See https://github.com/pypa/setuptools/issues/571
* Detect Cython later in the build process, allowing the library to be ↵Jason R. Coombs2015-06-101-12/+3
| | | | specified in setup_requires. Fixes #288.
* Force list type for easy concatenation.Jason R. Coombs2014-12-231-1/+1
|
* Add comments for clarity.Jason R. Coombs2014-12-231-0/+2
|
* Extract logic for getting the extensions for outputs.Jason R. Coombs2014-12-231-4/+7
|
* Collapse two generator expressions.Jason R. Coombs2014-12-231-2/+2
|
* Use itertools.product to pair each base with each extension.Jason R. Coombs2014-12-231-5/+7
|
* Extract method for clarity.Jason R. Coombs2014-12-231-1/+4
|
* Rewrite function to use extend and a generator expression.Jason R. Coombs2014-12-231-5/+4
|
* ReindentJason R. Coombs2014-12-231-5/+5
|
* Extract filtering of extensions that need stubs.Jason R. Coombs2014-12-231-2/+2
|
* Rewrite short-circuit for/if/else loop as any on generator expression.Jason R. Coombs2014-12-231-4/+1
|
* Extract variable for simplicity of indentation.Jason R. Coombs2014-12-231-3/+2
|
* Extract variables for clarity and simpler indentation.Jason R. Coombs2014-12-231-4/+4
|
* Define if_dl using simple lambda.Jason R. Coombs2014-12-231-4/+1
|
* Use hasattr per recommendation in docs for dl.Jason R. Coombs2014-12-231-4/+2
|
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-53/+69
|
* Remove import *Jason R. Coombs2014-02-091-1/+1
|
* Normalize indentation and remove unused importsJason R. Coombs2014-02-091-42/+33
|
* Use new sysconfig module with Python 2.7 or >=3.2.Arfrever Frehtes Taifersar Arahesis2013-06-121-9/+15
|
* Merge setuptools/command/*Jason R. Coombs2013-05-041-11/+9
|\ | | | | | | | | --HG-- branch : Setuptools-Distribute merge
| * Copy changes from 1aae1efe5733 for setuptools/command/* (except easy_install.pyJason R. Coombs2013-05-031-9/+9
| | | | | | | | | | | | --HG-- branch : Setuptools-Distribute merge extra : source : 0c89fbb19c269ce1cb3bc3e9ece9864127768169
* | merge dancetarek2009-09-201-0/+5
|\ \ | | | | | | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : e0fc1e252a506a6a751f9557d4a01580e1cbbdfa
| * | Work around distutils 3.1 breaking ext_map.Martin v. Löwis2009-09-131-0/+5
| |/ | | | | | | | | | | --HG-- branch : distribute extra : rebase_source : 47da1d81d1923e23aa70949c2a69000c01f8f81f
* | make sure setuptools does like distutils in get_ext_filename fixes #41tarek2009-09-201-0/+2
|/ | | | | | --HG-- branch : distribute extra : rebase_source : 4401307be98ca2fb74e715a258b7af74eaa62db2
* Ensure that _full_name is set on all shared libs before extensionsPJ Eby2008-08-211-3/+3
| | | | | | | | | are checked for shared lib usage. (problem reported by Andi Vajda) (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065963
* Update Pyrex/swig_sources workaround for newer Pyrex versionsPJ Eby2008-01-151-1/+1
| | | | | | | | (backport) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4059983
* Tweak build configuration for OS X, based on suggestions from MichaelPJ Eby2006-01-141-22/+22
| | | | | | | | | Twomey on the distutils-sig. (It looks like we may also need to add an '-install_name' or some such to the library link step.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042047
* Attempt to define some reasonable flags for OS X linker.PJ Eby2006-01-141-16/+15
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042040
* Fix broken importPJ Eby2006-01-141-0/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042039
* Don't keep the stub .py file around, just the .pyc/.pyo. Don't writePJ Eby2006-01-141-40/+40
| | | | | | | | a stub to the source tree if it would overwrite an existing .py file. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042038
* Ensure installed stubs get compiled, even if there are no "pure" modulesPJ Eby2006-01-131-7/+7
| | | | | | | | present. Also, don't bother compiling the stub prior to installation. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042037
* Write stub files correctly for build_ext --inplacePJ Eby2006-01-131-21/+21
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042036
* Implement LD_LIBRARY_PATH workaround stub loaderPJ Eby2006-01-131-45/+86
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042035
* Don't write .py stubs except for actual extensions that don't alreadyPJ Eby2006-01-131-7/+7
| | | | | | | | have them. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042034