summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
* BUG: fix logic error when nm fails on 32-bitmattip2020-03-081-4/+7
|
* MAINT: use list-based APIs to call subprocesses (#15714)Sebastian Berg2020-03-074-34/+79
| | | | | | * MAINT: use list-based APIs to call subprocesses * TST, MAINT: add a test for mingw32ccompiler.build_import, clean up lib2def Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* convert shebang from python to python3 (#15687)Changqing Li2020-03-045-5/+5
| | | | Signed-off-by: Changqing Li <changqing.li@windriver.com>
* MAINT: cleanup unused imports; avoid redefinition of importsMike Taves2020-02-0613-24/+16
| | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811)
* Merge pull request #15338 from mattip/site.cfgCharles Harris2020-01-312-61/+121
|\ | | | | DOC: document site.cfg.example
| * DOC: changes from reviewmattip2020-01-261-0/+1
| |
| * DOC: link and cleanup docstrings in site.cfg.examplemattip2020-01-202-61/+120
| |
* | Merge pull request #15452 from mwtoews/E401Matti Picus2020-01-293-7/+13
|\ \ | | | | | | STY,MAINT: avoid 'multiple imports on one line'
| * | STY,MAINT: avoid 'multiple imports on one line' (flake8 E401)Mike Taves2020-01-283-7/+13
| | | | | | | | | | | | | | | | | | * PEP 8: "Imports should usually be on separate lines" * Where modified, sort imported modules alphabetically * Clean-up unused imports from these expanded lines
* | | MAINT: Remove sys.version checks (gh-#15373)Seth Troisi2020-01-281-60/+48
|/ / | | | | More sys.version cleanup.
* | DOC: distutils: Add a docstring to show_config().Warren Weckesser2020-01-251-0/+37
| | | | | | | | | | | | | | Thanks to Sergey Kojoian for the original patch to create the docstring. Closes gh-9258.
* | MAINT/DOC: Remove use of old Python __builtin__, now known as builtinsMike Taves2020-01-241-1/+0
| |
* | MAINT: Replace basestring with str.Charles Harris2020-01-231-2/+1
| | | | | | | | | | | | | | This replaces basestring with str except in - tools/npy_tempita/ - numpy/compat/py3k.py
* | MAINT: Clean up, mostly unused imports.Warren Weckesser2020-01-231-1/+0
| |
* | Merge pull request #15362 from mwtoews/def23Matti Picus2020-01-231-12/+2
|\ \ | | | | | | MAINT: remove internal functions required to handle Python2/3 logic
| * | MAINT: remove internal functions required to handle Python2/3 logicMike Taves2020-01-221-12/+2
| | |
* | | Merge pull request #15366 from mwtoews/F403Matti Picus2020-01-234-7/+12
|\ \ \ | | | | | | | | MAINT: resolve pyflake F403 'from module import *' used
| * | | MAINT: resolve pyflake F403 'from module import *' usedMike Taves2020-01-234-7/+12
| |/ / | | | | | | | | | | | | | | | * For external modules, resolve imported members * Most internal relative modules were ignored or marked noqa: F403 * Convert a few internal absolute imports to relative imports
* | | Merge pull request #15379 from sethtroisi/misc_cleanups3Matti Picus2020-01-231-1/+1
|\ \ \ | |/ / |/| | MAINT: Python2 Cleanups
| * | MAINT: Python2 CleanupsSeth Troisi2020-01-211-1/+1
| | |
* | | STY: use `with open` when possibleSeth Troisi2020-01-211-3/+2
|/ /
* | [MAINT] Cleanup python2 sys.version checksSeth Troisi2020-01-2010-87/+37
|/
* MAINT: Remove sys.version checks in testsSeth Troisi2020-01-151-4/+1
|
* Merge pull request #15307 from sethtroisi/sys_version_preMatti Picus2020-01-162-9/+3
|\ | | | | MAINT: cleanup sys.version dependant code
| * MAINT: cleanup sys.version dependant codeSeth Troisi2020-01-122-9/+3
| |
* | DOC: fix typosBrian Wignall2020-01-141-1/+1
|/
* Merge remote-tracking branch 'upstream/master' into ↵Eric Wieser2020-01-0667-185/+24
|\ | | | | | | remove-numpy.distutils.compat
| * Merge pull request #15248 from eric-wieser/avoid-exc_infoCharles Harris2020-01-0510-59/+36
| |\ | | | | | | MAINT: cleanup use of sys.exc_info
| * \ Merge pull request #15238 from mattip/redo-c99Charles Harris2020-01-052-27/+0
| |\ \ | | | | | | | | MAINT: only add --std=c99 where needed
| | * | MAINT: add --std=c99 in setup.py, not distutilsmattip2020-01-052-27/+0
| | | |
| * | | MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-0513-24/+24
| |/ / | | | | | | | | | | | | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
| * | MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-0368-136/+0
| | | | | | | | | | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* | | MAINT: Delete numpy.distutils.compatEric Wieser2020-01-061-10/+0
| |/ |/| | | | | `get_exception` has no callers as of this commit's parent, and is hard to argue as public API given the only docstring in the file refers to "inside distutils".
* | MAINT: cleanup use of sys.exc_infoEric Wieser2020-01-0510-59/+36
|/ | | | | | This code originates from python 2.6, before there was an `as` clause in `except`. This removes all callers of `numpy.distutils.compat.get_exception`.
* BUG: distutils: fix msvc+gfortran openblas handling corner casePauli Virtanen2019-12-311-4/+5
| | | | | | | | | Ensure the openblas MSVC+gfortran temporary library names are unique for the different openblas_* system_info classes. If multiple openblas libraries (e.g. both a 32-bit and a 64-bit one) are used in the same project, when compiling in the msvc+gfortran mode, this previously resulted to only the last one being used.
* BUG: remove -std=c99 for c++ compilation (#15194)Matti Picus2019-12-302-1/+25
| | | This flag is only legal for C compilers
* ENH: distutils: add support for ILP64 OpenBLAS (generic symbol suffix)Pauli Virtanen2019-12-141-37/+126
| | | | | | | | | | | | | | | | | | | Generalize the ILP64 BLAS/LAPACK symbol name handling to deal with arbitrary prefix/suffix. The build-time behavior is changed so that HAVE_BLAS_ILP64 and BLAS_SYMBOL_SUFFIX/PREFIX defines are added to compile options as appropriate. Mainly to make autodetection of BLAS/LAPACK easier for downstream numpy.distutils users, add get_info aliases 'blas_ilp64_opt', 'blas_ilp64_plain_opt', and 'blas64__opt' for any/no/""&"64_" prefix&suffix, and the same for lapack. (Due to the way system_info works, each also gets a separate class.) In addition to openblas64_ which has a fixed suffix, add the (by default suffixless) openblas_ilp64, which correspond to the most likely cases to be present.
* BUG: distutils: remove stray debug printPauli Virtanen2019-12-041-1/+0
|
* ENH: distutils: support 64-bit OpenBLAS with '64_' symbol suffixPauli Virtanen2019-11-291-26/+105
| | | | | | | | | This is an emerging "standard" for 64-bit BLAS/LAPACK, avoiding symbol clashes with 32-bit BLAS/LAPACK, originally introduced for Julia. OpenBLAS can be compiled with 64-bit integer size and symbol suffix '64_' (INTERFACE64=1 SYMBOLSUFFIX=64_). OpenBLAS built with this setting is also provided by some Linux distributions (e.g. Fedora's 64-bit openblas packages).
* MAINT: Added Python3.8 branch to dll lib discoveryIlhan Polat2019-11-241-2/+5
|
* MAINT: fixes from reviewmattip2019-10-261-1/+1
|
* BUILD: cache c-compiler for system_info stagemattip2019-10-251-1/+10
|
* BUILD: add std=c99 flag for gcc, cleanup error reportingmattip2019-10-251-0/+5
|
* BUILD: emit more helpful error messages when compiler is brokenmattip2019-10-251-1/+1
|
* Merge pull request #14634 from dstansby/extension-docRalf Gommers2019-10-121-1/+17
|\ | | | | DOC: Create `class Extension` docstring and add it to documentation.
| * Add Extension to docsDavid Stansby2019-10-031-1/+17
| |
* | BUILD: change to build_src --verbose-cfg, runtests.py --debug-infomattip2019-10-031-4/+4
|/
* Merge pull request #14573 from rgommers/remove-info-filesMatti Picus2019-09-253-14/+21
|\ | | | | DOC: update submodule docstrings, remove info.py files
| * MAINT: remove outdated `numpy/distutils/__version__.py` fileRalf Gommers2019-09-222-7/+0
| |
| * DOC: add a numpy.distutils module docstring, remove info.py fileRalf Gommers2019-09-222-7/+21
| |