summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/compaq.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: revise OSError aliases (IOError, EnvironmentError)Mike Taves2021-09-021-2/+2
|
* MAINT: Added Chain exceptions where appropriate (#18394)Abhay Raghuvanshi2021-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | * Added chain exception in _bits_of func * Added chain exception * Added chain exception in unixccompiler.py * Added chain exception in config.py * Added chain exception in fcompiler __init__.py * Added chain exception in compaq.py * Added chain exception in format.py * Updated raise chain exception * STY: Break long line. Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
* BUG: NameError in numpy.distutils.fcompiler.compaqMichael Lamparski2021-03-031-2/+2
| | | Fix a simple mistake in commit da0497fdf35 which can produce a NameError when installing numpy in MinGW/MSYS2.
* Merge pull request #15248 from eric-wieser/avoid-exc_infoCharles Harris2020-01-051-7/+3
|\ | | | | MAINT: cleanup use of sys.exc_info
| * MAINT: cleanup use of sys.exc_infoEric Wieser2020-01-051-7/+3
| | | | | | | | | | | | 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`.
* | 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.
* Fixing failure on Python 2.7 on Windows 7Oleksandr Pavlyk2019-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | When executing pytest --pyargs numpy.distuils.tests.test_fcompiler test_fcompiler_flags fails with ``` > raise e E ValueError: [u'path', u'include', u'lib'] lib\site-packages\numpy\distutils\fcompiler\compaq.py:100: ValueError ---------------------------- Captured stdout call ----------------------------- Unexpected ValueError in C:\TCAgent1\work\7cc6992266387eba\distribution\lib\site -packages\numpy\distutils\fcompiler\compaq.py ``` It appears that the list argument of ValueError contains 'path' not at the end of the list like the current test expects, but at the beginning. After this fix, 9 test failures of `pytest --pyargs numpy.distutils` go away.
* MAINT: distutils: trivial cleanupsxoviat2017-11-061-4/+2
|
* DEP: Fix escaped string characters deprecated in Python 3.6.Charles Harris2016-12-141-2/+2
| | | | | | | In Python 3.6 a number of escape sequences that were previously accepted -- for instance "\(" that was translated to "\\(" -- are deprecated. To retain the previous behavior either raw strings must be used or the backslash must be properly escaped itself.
* MSVCCompiler overwrite 'lib' and 'include' environment variables. ThisDmitry Zagorny2015-09-151-1/+1
| | | | | | | | | behavior affect at least python 3.5 and SciPy build and build failed. During initialization <python>.distutils.MSVCCompiler replace Intel environment('include' and 'lib' paths). This fix decorate 'initialize' function in MSVCCompiler and extend 'lib' and 'include' environment variables. Changed compilation keys: generate optimized code specialized for Intel processors with SSE4.2 support.
* STY: Giant comma spacing fixup.Charles Harris2013-08-181-10/+10
| | | | | | | 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.
* 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Py3k: make fcompiler.compaq py3k-importable.David Cournapeau2009-12-031-5/+9
|
* Fix print statements in fcompiler for python3.David Cournapeau2009-12-031-4/+4
|
* Remove tabs and unnecessary whitespace.Stefan van der Walt2009-04-161-2/+2
|
* Trap another kind of exception for MSVC9 in compaq fcompiler.David Cournapeau2009-02-251-0/+4
|
* Unhelpful message for compaq fortran compiler.David Cournapeau2009-02-201-1/+1
|
* BUG (#970): this commit should fix the actual bug, which albeeit linked to ↵David Cournapeau2008-12-271-0/+4
| | | | commir r6200, was caused in anoter code path.
* Add VisualCompaq compiler to the list of fortran compilers if platform is ↵David Cournapeau2008-03-221-1/+1
| | | | cygwin.
* Trying to fix Windows XP x86_64 MSVC build.Pearu Peterson2007-07-271-1/+6
|
* (no commit message)Pearu Peterson2007-07-241-3/+9
|
* distutils: clean up imports (found by running pyflakes)cookedm2007-05-251-1/+0
|
* merge from distutils-revamp branch (step 2)cookedm2007-05-251-7/+16
| | | | | | - fcompiler changes. All flags, executables, etc., should be overridable by the user with config_fc (either command line or setup.cfg) or by environment variables
* Eliminate more warnings and add fixes from #149 and #150Travis Oliphant2006-06-211-1/+3
|
* Fixed import.Pearu Peterson2006-03-281-1/+1
|
* Changed all references to scipy to numpyTravis Oliphant2006-01-041-2/+2
|
* Moved scipy directory to numpyTravis Oliphant2006-01-041-0/+94