summaryrefslogtreecommitdiff
path: root/numpy/distutils/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: point to html docs on distutils migration in deprecation messageRalf Gommers2022-02-181-1/+2
| | | | [skip azp]
* MAINT: fix failure due to importing warnings in `distutils/__init__.py`Ralf Gommers2022-02-161-0/+1
|
* DEP: deprecate `numpy.distutils`, and add a migration guideRalf Gommers2022-02-151-0/+11
|
* Revert "MAINT: setuptools 49.2.0 emits a warning, avoid it"mattip2020-07-141-3/+1
|
* MAINT: setuptools 49.2.0 emits a warning, avoid itmattip2020-07-121-1/+3
|
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* MAINT: remove outdated `numpy/distutils/__version__.py` fileRalf Gommers2019-09-221-1/+0
|
* DOC: add a numpy.distutils module docstring, remove info.py fileRalf Gommers2019-09-221-1/+21
|
* BUILD: add --debug-configure option to reduce output, use logger moremattip2019-09-201-2/+2
|
* MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) ↵Roman Yurchak2018-12-061-2/+0
| | | | | | | | | | | | (#12448) * Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments
* 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
* 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.
* 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: distutils: trivial cleanupsxoviat2017-11-061-0/+12
|
* BLD: fix rebuilding after a failed build. Closes gh-5467.Ralf Gommers2016-01-161-6/+6
| | | | Also remove bench(), does't do anything here after the move to asv.
* [TST] Refactor new raise_warnings logic for subpackage test suitesNathaniel J. Smith2015-12-301-3/+3
|
* Simplify numpy/distutils/__init__.pyAndrea Bedini2015-05-161-28/+12
| | | | | | | | Thanks to the presence of from __future__ import absolute_import we don't need different code paths for Python 2/3.
* BUG: fix import in distutils/__init__.py under Python 2.xRalf Gommers2015-03-071-1/+1
| | | | Without this fix, _INSTALLED is False and distutils.test() is not available.
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* 2to3: Use absolute imports.Charles Harris2013-03-281-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+2
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* Fix relative import in top numpy.distutils.David Cournapeau2009-12-031-12/+28
|
* Raise a PkgNotFound exception in get_info if the package is not found.David Cournapeau2009-07-261-0/+1
|
* Restore old test framework classes.Alan McIntyre2008-06-211-1/+1
| | | | | | | | | | | Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc.
* Switched to use nose to run tests. Added test and bench functions to all ↵Alan McIntyre2008-06-171-3/+3
| | | | modules.
* Back out pearu's r4101 that added a warning about importing distutils before ↵cookedm2007-09-251-16/+0
| | | | numpy.distutils. This warning triggered when setuptools was imported first.
* fixing link error: fixed. Removing debug messages and added a warning ↵Pearu Peterson2007-09-231-0/+17
| | | | message on the situation that triggered this issue: numpy.distutils must always be imported before distutils.
* Replaced numpy.distutils.test method instance with a function to avoid ↵Pearu Peterson2006-02-241-2/+3
| | | | importing numpy during numpy import.
* Making f2py and distutils scipy-style packages. Using pkgload to load numpy ↵Pearu Peterson2006-01-141-0/+2
| | | | packages.
* Changed all references to scipy to numpyTravis Oliphant2006-01-041-1/+1
|
* Moved scipy directory to numpyTravis Oliphant2006-01-041-0/+16