summaryrefslogtreecommitdiff
path: root/setuptools/extension.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge 'main' into feature/pep660Anderson Bravalheri2022-08-061-2/+2
|\
| * docs: Silence sphinx errors for reference it cannot findAnderson Bravalheri2022-08-061-2/+2
| |
* | Merge branch 'main' into feature/pep660Anderson Bravalheri2022-08-051-1/+6
|\ \ | |/
| * Restore newline, lost when removing spaces using Github UI.Jason R. Coombs2022-07-311-0/+1
| |
| * Remove extraneous whitespace.Jason R. Coombs2022-07-311-1/+0
| |
| * DOC: Mention that Extension(..., runtime_library_dirs) raises on WindowsDWesl2022-07-301-1/+6
| | | | | | | | | | May want a closer match to the exception message to make it easier to search, but this should help. Inspired by #3450.
* | Make it possible for build_ext to export the output mappingAnderson Bravalheri2022-06-191-0/+3
|/
* Make it easier to read the docstring for setuptools/extensionAnderson Bravalheri2022-06-141-0/+14
|
* Fix missing intersphinx reference in Extension docstringAnderson Bravalheri2022-06-141-1/+1
|
* Add docstring documentation to setuptools.ExtensionAnderson Bravalheri2022-06-141-1/+72
|
* Use super()谭九鼎2022-01-261-1/+1
|
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-2/+0
|
* Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
* Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
|
* Fix quantity of blank lines.stepshal2016-10-181-1/+0
|
* Move (much of?) the rest of the monkey patching into the monkey moduleJason R. Coombs2016-09-041-12/+3
|
* Remove private prefix from monkey as monkey module explicitly declares that ↵Jason R. Coombs2016-09-041-2/+2
| | | | all functions are private.
* Introduce a new monkey module to encapsulate the monkeypatching.Jason R. Coombs2016-09-041-1/+1
|
* Make Extension accept positional arguments again (fixes #752).Torsten Landschoff2016-08-201-3/+5
| | | | | | As a side effect, py_limited_api may now only be passed as keyword argument. I think it is early enough for this feature to change this and enforce the flag to be passed as a keyword...
* Merge pull request #718 from dholth/masterJason R. Coombs2016-08-191-0/+4
|\ | | | | use abi3 extension if Extension().is_abi3
| * rename is_abi3 to py_limited_apiDaniel Holth2016-08-051-2/+2
| |
| * use abi3 extension if Extension().is_abi3Daniel Holth2016-08-031-0/+4
| |
* | Fix _have_cythonMehdi Abaakouk2016-08-031-1/+1
|/ | | | | | In 3c047624, we remove the loop, but we miss to convert the tuple to a string. Because the exception is just ignored, we don't see that __import__ won't works
* Add missing blank lines after class or function definition.stepshal2016-07-211-0/+2
|
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+2
|
* Rename msvc9_support to simply msvc.Jason R. Coombs2016-07-021-2/+2
|
* Always use Python 3 version of mapJason R. Coombs2016-01-161-0/+2
|
* Remove loop, made unnecessary by removal of support for PyrexJason R. Coombs2015-06-101-8/+7
|
* Detect Cython later in the build process, allowing the library to be ↵Jason R. Coombs2015-06-101-11/+10
| | | | specified in setup_requires. Fixes #288.
* Move monkey patch to a separate moduleJason R. Coombs2014-09-261-53/+3
|
* Resave with excess whitespace removedJason R. Coombs2014-09-261-4/+4
|
* Adds monkeypatching for msvc9compiler.find_vcvarsall() to look for a ↵Steve Dower2014-09-251-0/+54
| | | | standalone compiler installation and improves the error message for missing VC installation.
* Use functools.partial and re.sub to construct the substitution function.Jason R. Coombs2014-03-101-7/+6
|
* self.language could be None (and is None by default)Jason R. Coombs2014-03-101-1/+2
|
* Use a single method to handle both languages.Jason R. Coombs2014-03-101-19/+15
|
* Map .pyx sources to .c or .cpp depending on languagelsinger2014-03-011-1/+12
|
* Misc. updates following 2to3 checks.Vinay Sajip2013-06-171-1/+1
| | | | | --HG-- branch : single-codebase
* Converted have_pyrex into a functionJason R. Coombs2012-03-101-13/+19
| | | | | | --HG-- branch : distribute extra : rebase_source : b676ea404118a121400f2fd1b67095ab4521b7a0
* Refactored Extension class so that __init__ is always called, but patched ↵Jason R. Coombs2012-03-101-11/+9
| | | | | | | | behavior is still selected by has_pyrex. --HG-- branch : distribute extra : rebase_source : d5670bf4bc6606d828b4ec7be055e26a7d4a9730
* Reorganized importsJason R. Coombs2012-03-101-7/+9
| | | | | | --HG-- branch : distribute extra : rebase_source : 3c54aa84f71220021b92f890359546b4ff41e5f6
* Indent with spacesJason R. Coombs2012-03-101-7/+7
| | | | | | --HG-- branch : distribute extra : rebase_source : 799441b639f6f9c55fe25745e793ac29419f0293
* Refactored Cython/Pyrex optional build support to unify logicJason R. Coombs2011-03-181-14/+10
| | | | | | --HG-- branch : distribute extra : rebase_source : c924cf1817736349e9a254098b6d99cd97a3d35f
* Applying patch provided by Didrik Pinte on #195 for Cython build_ext supportJason R. Coombs2011-03-181-1/+9
| | | | | | --HG-- branch : distribute extra : rebase_source : 69be8a07f86d1fbbdace2b7965a2c4a6cc5a14bf
* Fix import that was breaking py3kagronholm2009-08-061-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : 76bf8f9213536189bce76a41e798c44c5f468cbd
* SharedLibrary -> Library. For now, Windows libs get built as shared,PJ Eby2006-01-061-2/+2
| | | | | | | | and other platforms get static. :( --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041941
* First draft of shared library build support. See tests/shlib_testPJ Eby2006-01-051-17/+16
| | | | | | | | | | for a trivial example. This has only been tested on Windows with a MinGW compiler, and the Mac OS support isn't finished. Testing w/other platforms+compilers would be helpful. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041927
* Enhanced setuptools infrastructure to support distutils extensions thatPJ Eby2005-08-061-0/+10
| | | | | | | | | | can be plugged in at setup() time to define new setup() arguments or distutils commands. This allows modularization and reuse of distutils extensions in a way that was previously not possible. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041180
* Initial checkin of setuptools 0.0.1.PJ Eby2004-03-191-0/+27
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869