summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
* gfortran needs -lpthread & -maix64(64 build) in AIXAyappan P2018-11-191-0/+6
|
* BUG: Do not double-quote arguments to the command lineEric Wieser2018-11-181-8/+8
| | | | | | After the recent patch to CCompiler.spawn, the file-paths no longer need manual quoting - that's handled as needed within subprocess. Fixes #12411
* fall back to 'ascii' locale in build (if needed)Dima Pasechnik2018-11-171-5/+8
| | | | | | | If locale.getpreferredencoding(False) returns Null, the build fails, since commit 5652b0785. This seems to be not really necessary; here we provide a fallback to 'ascii' locale if needed.
* Merge pull request #11898 from tylerjereddy/rm_exec_command_2Charles Harris2018-11-142-21/+66
|\ | | | | MAINT: remove exec_command usage from ccompiler.py
| * MAINT: remove exec_command usage from ccompiler.pyTyler Reddy2018-10-312-21/+66
| | | | | | | | | | | | * replaced the usage of exec_command() in ccompiler distutils module with subprocess equivalent
* | MAINT: update gfortran RPATH for AIX/Windows non-support.Ralf Gommers2018-11-101-0/+4
|/ | | | Closes https://github.com/scipy/scipy/issues/9452
* Merge pull request #12209 from anntzer/get_build_archRalf Gommers2018-10-201-1/+6
|\ | | | | MAINT: delay import of distutils.msvccompiler to avoid warning on non-Windows.
| * Delay import of distutils.msvccompiler to avoid warning on non-Windows.Antony Lee2018-10-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Importing* distutils.msvccompiler works on non-Windows systems, but triggers a pointless "warning" (using distutils' own logging system; "Can't read registry etc.") Delay the import so that other uses of distutils.misc_util are not affected. When running distutils commands, the verbosity is set by default to 1 (`self.verbose = 1` in distutils/dist.py) so the warning does get displayed. To trigger the warning, subclass e.g. build_ext, override its finalize_options method, import numpy.distutils.misc_util from there, and then pass the new build_ext as cmdclass to setuptools.setup(). Partially reverts 15f52f5.
* | DOC: tweak grammarmattip2018-10-091-1/+1
| |
* | BUG: limit default for get_num_build_jobs() to 8Jeroen Demeyer2018-10-051-1/+4
| | | | | | | | | | | | The default value for get_num_build_jobs() is now the number of CPUs limited to a maximum of 8. This is to prevent overloading systems with a lot of CPUs. See ticket #12087
* | Merge pull request #12061 from ceh-forks/remove-reduntant-importsCharles Harris2018-09-302-3/+0
|\ \ | | | | | | MAINT: remove redundant imports
| * | MAINT: remove redundant importsEmil Hessman2018-09-302-3/+0
| | |
* | | Merge pull request #12060 from ceh-forks/remove-more-unused-importsCharles Harris2018-09-306-10/+2
|\ \ \ | | | | | | | | MAINT: remove unused stdlib imports
| * | | MAINT: remove unused stdlib importsEmil Hessman2018-09-306-10/+2
| |/ /
* | | MAINT: remove redundant assignmentEmil Hessman2018-09-301-1/+0
|/ /
* | MAINT: avoid modifying mutable default valuesEmil Hessman2018-09-292-4/+9
| |
* | Merge pull request #11935 from tylerjereddy/rm_exec_command_6Charles Harris2018-09-171-6/+27
|\ \ | | | | | | MAINT: remove usage of exec_command in config.py
| * | MAINT: remove usage of exec_command in config.pyTyler Reddy2018-09-121-6/+27
| | | | | | | | | | | | | | | | | | * replace usage of exec_command() with standard library equivalent in the distutils config module
* | | MAINT: remove exec_command usage in ibm.py (#11901)Tyler Reddy2018-09-151-4/+9
|/ / | | | | | | Replaced the usage of exec_command() in distutils ibm module with subprocess.check_output
* | Merge pull request #11909 from mattip/flake8-cleanupsCharles Harris2018-09-112-2/+0
|\ \ | | | | | | MAINT: flake8 cleanups
| * | MAINT: remove redundant importsmattip2018-09-092-2/+0
| |/
* | MAINT: remove exec_command from build_extTyler Reddy2018-09-101-4/+8
| | | | | | | | | | | | | | * the single usage of exec_command in distutils build_ext module has been replaced with a standard library usage of subprocess
* | MAINT: remove exec_command from system_info.pyTyler Reddy2018-09-101-3/+8
| | | | | | | | | | | | * replace exec_command() with its standard library equivalent in distutils system_info module
* | MAINT: remove exec_command from gnu.pyTyler Reddy2018-09-102-9/+40
|/ | | | | | * replaced usage of exec_command() with standard library equivalent in distutils gnu module
* Simplify logicIsuru Fernando2018-07-081-11/+2
|
* convert env variable flags and fix LDSHAREDIsuru Fernando2018-07-082-3/+7
|
* Remove redundant codeIsuru Fernando2018-07-071-2/+0
|
* Move distutils.environment.py to distutils.fcompilerIsuru Fernando2018-07-072-1/+2
|
* Use monkeypatch's setenv, getenvIsuru Fernando2018-07-071-8/+7
|
* Test distutils flags appendingIsuru Fernando2018-07-071-0/+47
|
* Change default to overrideIsuru Fernando2018-07-071-1/+1
|
* Fix var being NoneIsuru Fernando2018-07-071-0/+2
|
* Append *FLAGS instead of overridingIsuru Fernando2018-07-072-33/+41
|
* MAINT: Move pytesttester outside of np.testing, to avoid creating ↵Eric Wieser2018-07-021-1/+1
| | | | | | | | unnecessary import dependencies pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports Relates to #11457
* BUG: Revert #10229 to fix DLL loads on Windows.Charles Harris2018-06-291-13/+3
| | | | | | | | | | | Numpy wheels on Windows were clearing the ctypes path when they loaded the OpenBLAS DLL, leading to failure of DLL loads subsequent to NumPy import because the needed DLLs could not be found. This isn't a straight revert, it restores to the 1.15.x version of the relevant code. Closes #11431.
* HTTP -> HTTPS, and other linkrot fixesMike Toews2018-06-162-5/+5
|
* Merge pull request #11089 from ahaldane/speedup_build_all_filesCharles Harris2018-06-032-4/+9
|\ | | | | BLD: cleanup _configtest.o.d during build
| * BLD: cleanup _configtest.o.d during buildAllan Haldane2018-06-012-4/+9
| |
* | Sort input file listBernhard M. Wiedemann2018-05-271-4/+9
|/ | | | | | | | | | so that the python-scikit-learn openSUSE package that uses config.add_extension(name, "path/to/*.cpp", ...) builds in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461 See https://reproducible-builds.org/ for why this is good.
* MAINT: distutils.system_info: handle Accelerate like any other libraryPauli Virtanen2018-05-081-70/+61
| | | | | | | | | | | | Remove the special-cased handling of OSX Accelerate/vecLib libraries, and move the code (which was duplicated in two places) to a new accelerate_info class, which is used in the same way as openblas/etc libs. Also add a configuration section and an environment variable for controlling whether Accelerate/vecLib is to be used or not. Previously, it was not possible to use generic BLAS/LAPACK instead of Accelerate on OSX.
* Merge pull request #10916 from mhsmith/check_embedded_lapackCharles Harris2018-04-161-1/+1
|\ | | | | Add missing underscore to prototype in check_embedded_lapack
| * Add missing underscore to prototype in check_embedded_lapackMalcolm Smith2018-04-161-1/+1
| |
* | fix failing testmattip2018-04-111-6/+6
| |
* | formatting fixesmattip2018-04-111-6/+6
|/
* MAINT: Remove all uses of run_module_suite.Charles Harris2018-04-068-45/+10
| | | | | That function is nose specific and has not worked since `__init__` files were added to the tests directories.
* TST: Update modules `test` to PytestTester.Charles Harris2018-04-041-2/+3
| | | | | | | | Numpy can now be tested using the standard `python -c"import numpy; numpy.test()"` construct.
* TST: Switch to using pytest markersCharles Harris2018-04-041-4/+6
| | | | | | | | | | | Use standard pytest markers everywhere in the numpy tests. At this point there should be no nose dependency. However, nose is required to test the legacy decorators if so desired. At this point, numpy test cannot be run in the way with runtests, rather installed numpy can be tested with `pytest --pyargs numpy` as long as that is not run from the repo. Run it from the tools directory or some such.
* MAINT: Rearrange numpy/testing files.Charles Harris2018-03-291-2/+2
| | | | | | | | | This is to prepare for the switch to pytest. * Rename `numpy/testing/nose_tools` to `numpy/testing/_private`. * Redirect imports as needed. * Copy `_testutils.py` from scipy to `numpy/testing/_private`. * Rename `_testutils.py` to `_pytester.py` and remove unneeded bits.
* MAINT: Remove use of unittest in NumPy tests.xoviat2018-03-211-1/+1
| | | | | | | | | | | | | | | | This removes a few left over uses of unittest. The main changes apart from removal of Test case are: * `setUp` replaced by nose and pytest compatible `setup` * `tearDown` replaced by nose and pytest compatible `teardown` * `assertRaises` replaced by `assert_raises` * `assertEqual` replaced by `assert_equal` The last two are in `numpy/testings/tests/test_utils.py`, so may seem a but circular, but at least are limited to those two functions. The use of `setup` and `teardown`, can be fixed up with the pytest equivalents after we have switched to pytest.
* MAINT: Remove obsolete comment.Warren Weckesser2018-03-101-1/+1
|