summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/config.py
Commit message (Collapse)AuthorAgeFilesLines
* BLD: some fixes for Intel compilers.Ralf Gommers2015-08-031-1/+2
| | | | | | | | - Fix an incorrect import - Enable C99 complex support (Qstd=c99) - Don't use MSVC complex types for Intel compilers Thanks to Intel for this patch (contact: Yolanda Chen).
* DEP,MAINT: Remove try_run and get_output.Charles Harris2015-06-211-57/+0
| | | | Deprecated functions in numpy/distutils/command/config.py.
* MAINT: Mark deprecation warning with a date and Numpy version.Charles Harris2015-06-211-0/+2
| | | | | | This is to make it easier to find and remove deprecated features. It would be a good idea if all deprecations were made with similar comments.
* BLD: add check for C99 restrict keywordJulian Taylor2014-09-291-0/+6
| | | | | | Define it as NPY_RESTRICT Restrict indicates a memory block does not alias, gcc supports it in c89 with the __restrict__ keyword.
* MAINT: make main a strict prototype in configure checksJulian Taylor2014-09-091-6/+6
| | | | removes about 400 lines of warnings from the build logs
* Merge pull request #4892 from rgommers/msvc10-fixJulian Taylor2014-07-201-5/+16
|\ | | | | BLD: fix build issues with MSVC10 on Windows. Closes gh-4245.
| * BLD: fix build issues with MSVC10 on Windows. Closes gh-4245.Ralf Gommers2014-07-201-5/+16
| | | | | | | | | | | | | | | | | | | | | | Note that there are a few similar patches posted to gh-4101 and gh-4245. Those were all patches to msvc9compiler in Python distutils. Monkeypatching ``MSVCCompiler.link`` is less easy than this change to ``config._check_compiler``; effect should be the same. Also updates the error message shown when initializing MSVC fails. [ci skip]
* | REF: remove obsolete code.David Cournapeau2014-07-071-26/+1
| |
* | FEAT: add a check_gcc_variable_attribute function in config command.David Cournapeau2014-07-071-0/+4
| |
* | FEAT: add check to ensure compilation without warning for a piece of code.David Cournapeau2014-07-061-1/+7
| |
* | FEAT: add check_gcc_function_attribute check.David Cournapeau2014-07-061-1/+5
| |
* | FEAT: add a try_output_compile in numpy.distutils.David Cournapeau2014-07-061-0/+20
|/
* BLD: allow strings for check_func declarationsJulian Taylor2014-04-231-1/+4
| | | | makes attribute checks more sane and allows adding nonnull
* ENH: Make output of get_atlas_info conditional on system_info.verbosityArnaud Bergeron2014-02-271-2/+3
|
* 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.
* STY: Giant whitespace cleanup.Charles Harris2013-08-181-1/+1
| | | | Now is as good a time as any with open PR's at a low.
* 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.
* Merge pull request #460 from endolith/regex_formattingCharles Harris2013-04-031-1/+1
|\ | | | | DOC: Formatting fixes using regex
| * DOC: Used regex to find colons missing spaces which render wrong online, ↵endolith2013-03-191-1/+1
| | | | | | | | also other spacing or formatting mistakes
* | 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.
* BUG: core: use #if check instead of #ifdef in checking HAVE_DECL_ISFINITE ↵Pauli Virtanen2010-10-061-0/+16
| | | | | | | (ticket #1625) Python #defines HAVE_DECL_ISFINITE 0 when the function is not available, so the proper check to do is #if.
* BUG: distutils: use // in a binary search (fixes #1604 on Python 3)Pauli Virtanen2010-09-041-1/+1
|
* Implemented detection of gfortran usage for ATLAS linkage. get_atlas_version ↵Pearu Peterson2010-08-301-3/+26
| | | | returns now a tuple (version_str, info_dict). Nice thing about the patch is that specifying gnu95 compiler is not needed anymore for numpy (neither for scipy) build when using ATLAS containing gfortran compiled blas/lapack.
* remove has_key from config.David Cournapeau2009-12-031-2/+2
|
* Py3k: make config command py3k importable.David Cournapeau2009-12-031-5/+8
|
* Add check_type functionality to numpy.distutils.David Cournapeau2009-07-011-0/+29
|
* Do not harcode visibility macro, enable it for gcc 4.David Cournapeau2009-04-301-1/+5
|
* Add check for (C) inline.David Cournapeau2009-03-111-0/+6
|
* Add an expected keyword for check_type_size check, to speed things up on ↵David Cournapeau2009-02-261-1/+22
| | | | common platforms.
* Find sizeof wo running on the target platform.David Cournapeau2009-02-261-61/+48
|
* Merged revisions 6479 via svnmerge from David Cournapeau2009-02-261-16/+16
|\ | | | | | | | | | | | | | | | | | | http://svn.scipy.org/svn/numpy/trunk ........ r6479 | cdavid | 2009-02-26 17:46:34 +0900 (Thu, 26 Feb 2009) | 1 line Fix docstring format for check_funcs_once. ........
| * Fix docstring format for check_funcs_once.David Cournapeau2009-02-261-16/+16
| |
* | Support library_dirs in check_type.David Cournapeau2009-02-191-2/+2
| |
* | Merge r6410.David Cournapeau2009-02-191-1/+1
|\ \ | |/
* | Add our own check_header, since distutils one is broken.David Cournapeau2009-02-191-0/+6
| |
* | Add check_type_sizeof function.David Cournapeau2009-02-181-0/+76
|/
* ran reindentJarrod Millman2008-12-311-2/+2
|
* Try to initialize the msvc compiler before the general code to detect the ↵David Cournapeau2008-12-271-9/+10
| | | | error early.
* Improve the error message when initializing compiler failed.David Cournapeau2008-12-271-6/+10
|
* BUG (#970): fix a python 2.6 bug in distutils which caused an unhelpful ↵David Cournapeau2008-12-271-0/+21
| | | | Error:None message when trying to build with no VS installed and without the -c mingw32 option.
* Refactor manifest generation and put it back into mingw32ccompiler module.David Cournapeau2008-11-171-21/+2
|
* Disable .rc generation for manifest: having the xml file in the same dir as ↵David Cournapeau2008-11-171-6/+6
| | | | the _configtest.exe is enough for now.
* temp_files is a list of filenames, not files.David Cournapeau2008-11-171-2/+2
|
* Fix configtest and manifest_name.David Cournapeau2008-11-171-1/+1
|
* Generate the rc file for manifest embedding.David Cournapeau2008-11-171-1/+7
|
* Generate the xml manifest file.David Cournapeau2008-11-171-2/+9
|
* fix imports.David Cournapeau2008-11-171-2/+2
|
* Refactor msvc runtime checking, put it into mingw32compilerDavid Cournapeau2008-11-171-12/+3
|
* Detect whether config link needs embedding the manifest for the MSVC runtime.David Cournapeau2008-11-171-0/+18
|