summaryrefslogtreecommitdiff
path: root/numpy/distutils/log.py
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add log level as prefixes to respective messagesMatthew2021-11-121-0/+22
|
* Merge pull request #15366 from mwtoews/F403Matti Picus2020-01-231-1/+1
|\ | | | | MAINT: resolve pyflake F403 'from module import *' used
| * MAINT: resolve pyflake F403 'from module import *' usedMike Taves2020-01-231-1/+1
| | | | | | | | | | | | * 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
* | MAINT: Python2 CleanupsSeth Troisi2020-01-211-1/+1
|/
* [MAINT] Cleanup python2 sys.version checksSeth Troisi2020-01-201-6/+2
|
* 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.
* BUILD: add --debug-configure option to reduce output, use logger moremattip2019-09-201-0/+2
|
* STY: Giant comma spacing fixup.Charles Harris2013-08-181-3/+3
| | | | | | | Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
* STY: Break long lines in numpy/distutils/log.py.Charles Harris2013-07-291-5/+16
|
* MAINT: typo fix in logging messageTomas Tomecek2013-07-291-2/+2
| | | | | The logging message in numpy.distutils.log.set_threshold mispelled threshold.
* 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+1
| | | | | | | | 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.
* Make numpy.distutils.log importable from python3.David Cournapeau2009-12-031-4/+8
|
* Use the default terminal colour to print out INFO messages in distutils. Stefan van der Walt2008-04-161-2/+2
| | | | This prevents visibility problems on backgrounds other than black.
* Add an 'if 0''d block of code to numpy.distutils.log to ignore some log ↵cookedm2007-12-261-3/+7
| | | | messages. Especially useful to turn on if you're developing by using eggs.
* Fix an incorrect usage of log.set_verbosity(INFO) causing log always to be ↵Pearu Peterson2007-08-091-8/+13
| | | | at DEBUG level, INFO is for set_threshold.
* Add a numpy.distutils.log.good function, which when WARN messages would becookedm2007-05-251-2/+23
| | | | | logged, logs a "nice" anti-warn version. Use this for finding executables to report when we do actually find one.
* Make system_info saner.cookedm2006-06-091-2/+2
| | | | | | * Add a get_output() method to the config command, which compiles, links, and runs a program, and returns the output from that program. * Also cleaned up some stuff. system_info uses log instead of print.
* Replace type(a) is (something) with appropiate is_string/is_sequence testscookedm2006-02-011-3/+3
|
* Moved scipy directory to numpyTravis Oliphant2006-01-041-0/+47