summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
...
| * | STY: fix for PEP8 online checkyolanda152015-08-201-6/+7
| | |
| * | BLD: add platform check to avoid intel compiler build failure on Linux when ↵yolanda152015-08-191-2/+1
| | | | | | | | | | | | importing MSVC
| * | fix for linux build break with msvcyolanda152015-08-181-28/+34
| | |
* | | Merge pull request #6183 from charris/remove-cblas-header-checkCharles Harris2015-08-171-26/+1
|\ \ \ | |/ / |/| | BLD: Remove fallback CBLAS detection looking for cblas.h.
| * | BLD: Remove fallback CBLAS detection looking for cblas.h.Charles Harris2015-08-081-26/+1
| | | | | | | | | | | | | | | | | | | | | | | | This raises DistutilsPlatformError when mingw32 is used as the default ccompiler is msvc. That is fixable, but does not seem worth the trouble as looking for a cblas.h file for a last effort to detect cblas seems a bit fragile in any case. I think it is better handled elsewhere on a case by case basis in combination with site.cfg.
* | | Distutils doesn't warn unless compiler_cxx is emptyPeter Iannucci2015-08-101-1/+1
|/ / | | | | Warns on OS X with MacPorts Python because it doesn't recognize clang. There isn't actually a problem, though, as distutils.sysconfig has done its job just fine. Proposed fix.
* | BLD: Intel compilers: xiar/xilib for Linux and Windows to support IPO.Ralf Gommers2015-08-031-0/+3
| |
* | BLD: some fixes for Intel compilers.Ralf Gommers2015-08-033-6/+8
|/ | | | | | | | - 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).
* TST: use os.pathsep to separate library directoriesChristoph Gohlke2015-08-011-2/+3
|
* TST: skip gcc specific test when using msvcChristoph Gohlke2015-08-011-0/+2
|
* TST: alternatively assert existence of msvc .obj filesChristoph Gohlke2015-08-011-1/+2
| | | Fixes test_system_info.TestSystemInfoReading.test_compile1 failure on Windows
* Merge pull request #6091 from novocaine/masterCharles Harris2015-08-011-2/+21
|\ | | | | Don't pass un-encodable env to spawn
| * restrict to windows py3 and add commentJames Salter2015-07-171-7/+18
| |
| * don't pass un-encodable env to spawnJames Salter2015-07-171-2/+10
| |
* | Merge pull request #6052 from insertinterestingnamehere/lib_fixRalf Gommers2015-07-261-1/+1
|\ \ | | | | | | BUG: Fix handling of dependencies between libraries
| * | BUG: Allow libraries to be used as dependencies for other libraries whenIan Henriksen2015-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compiling with numpy.distutils. For example, something like this will now work as a configuration function: def configuration(): config = Configuration() config.add_library('mylib1', sources=['mylib1.f']) config.add_library('mylib2', sources=['mylib2.f'], libraries=['mylib1']) config.add_extension('pymodule', sources=['pymodule.c'], libraries=['mylib2']) return config Arbitrary handling of dependencies between libraries is still not supported, but this should make some basic cases work properly.
* | | STY: PEP8 and pyflakes fixes for numpy/distutils.Charles Harris2015-07-2510-36/+40
| |/ |/|
* | MAINT: adapt parallel build option names to python3.5Julian Taylor2015-07-164-22/+22
|/ | | | python3.5 uses --parallel instead of --jobs
* DOC: Fix docstring warnings in documetation generation.Charles Harris2015-07-011-32/+50
| | | | | | | | | | | | Most of these fixes involve putting blank lines around .. versionadded:: x.x.x and .. deprecated:: x.x.x Some of the examples were also fixed.
* DEP,MAINT: Remove try_run and get_output.Charles Harris2015-06-211-57/+0
| | | | Deprecated functions in numpy/distutils/command/config.py.
* DEP,MAINT: Remove deprecated splitcmdline.Charles Harris2015-06-211-7/+0
| | | | | Was in numpy/distutils/exec_command.py. Update 1.10-notes.rst.
* MAINT: Mark deprecation warning with a date and Numpy version.Charles Harris2015-06-212-0/+3
| | | | | | 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.
* Merge pull request #5866 from tdsmith/include_dirsRalf Gommers2015-06-091-3/+17
|\ | | | | MAINT: can't find Python.h when build_ext --include-dirs is set
| * BLD: find Python.h when build_ext --include-dirs is setTim D. Smith2015-06-051-3/+17
| | | | | | | | | | Ensure that build_ext.include_dirs is the same physical list as build_ext.distribution.include_dirs.
* | 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: distutils: fix a typo in 64-bit Intel compiler for Windows support.Ralf Gommers2015-05-061-1/+1
| | | | Snuck in in gh-5694.
* Merge pull request #5597 from zerothi/ENH-distutilsCharles Harris2015-04-245-1/+269
|\ | | | | BLD, ENH: Reading of extra flags from site.cfg to extend flexibility
| * BUG: rpath was not implemented for numpy.distutils.fcompilerNick Papior Andersen2015-02-273-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug-fix only applies for non gnu-compilers. The fortran compilers in numpy inherited the Ccompier class which had the runtime library directories NotImplemented. Hence the compilers need to define their own runtime library path. I have added that information to the intel/pgi/sun compilers. The rest are either already implemented or I do not know them. I have tested the bug-fix with intel compilers of numpy AND the subsequent installation of scipy (which relies on the fortran compilers). Hence this bug will only occur when linking with the fortran compilers.
| * BUG: Had thought the defaults where made of lists, it is simply a str.Nick Papior Andersen2015-02-262-10/+10
| | | | | | | | Changed all lists to strings
| * ENH: rpath and runtime_library_dirs equivalentNick Papior Andersen2015-02-262-2/+11
| | | | | | | | | | | | | | | | | | The original distutils assumes runtime_library_dirs to be located in rpath, however, the internal structures assumes the keyword to be runtime_library_dirs. For now numpy.distutils handles both equivalently. The test has been updated to also test the rpath solution.
| * BUG: Python3 fixNick Papior Andersen2015-02-251-4/+5
| | | | | | | | | | | | Direct writing to files is not the same for 2vs3. Hence we now close the file handle, re-open it and write using the file.
| * BUG: PEP correctionsNick Papior Andersen2015-02-252-74/+82
| | | | | | | | | | | | | | | | | | | | | | More corrections pointed out by Ralf Changed the get_standard_file to a fully temporary file. This means that the __init__ diverges a bit from the system_info object. However, it only has to do with the setup for the test. All internal things regarding the object have not been altered. I have checked on my box that all files/directories are removed.
| * BUG: PEP corrections and streamlined with numpy dev lineNick Papior Andersen2015-02-252-43/+25
| | | | | | | | | | | | | | | | | | Changed self.assert* to assert_ instances through numpys own testing utilities. Fixes for the rst document. Removed unnecessary import statements in the test.
| * BUG: Trying to fix travis buildsNick Papior Andersen2015-02-241-5/+4
| | | | | | | | | | | | | | The error of getcwd on 2.6 was due to previous fault. We should not request include_dirs as they are not provided. For python 3 I forgot the top ascii writing.
| * BUG: Trying to fix travis buildsNick Papior Andersen2015-02-241-30/+36
| | | | | | | | | | | | | | The test on Travis does not allow getcwd on python 2.6 The test for python 3+ already is in unicode, hence the str representation was wrong.
| * ENH: Added tests to the extra options read inNick Papior Andersen2015-02-241-0/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple test (distutils/testing/test_system_info.py) to check that the options are read in correctly has been added. This test has a few faults: A) It does not allow strict library checks as that can be _very_ system dependent. B) It compiles some simple C-programs but does currently not link them to a shared library. C) As such the test does not check that the flags are actually used. To circumvent this one should: A) Make a library of the compiled sources. B) Check that a runtime_library_dirs is working by checking with ldd C) Make a preprocessor flag to check the output of two commands which should differ according to the flags in each block I am not too much into the distutils compiler suite. So I have not endeavoured on this path. - The current test shows that the flags are read in by the standard system_info object and can thus be considered a "stable" solution. - Added note of the 1.10 release schedule. - Corrected the site.cfg.example, added runtime_library_dirs to the OpenBLAS example where it seems appropriate. - Bugfix for the site.cfg.example (the [DEFAULT] block should be name [ALL]) This might have lead to some confusion, but many of the libraries are linked explicitly by their own sections, hence it might not have been caught.
| * BLD, ENH: Reading of extra flags from site.cfg to extend flexibilityNick Papior Andersen2015-02-231-3/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addition to the distutils module to be able to read in more optional arguments and flags from the site.cfg file. Currently are these additional options read: runtime_library_dirs: It allows users to set the runtime library directories so that LD_LIBRARY_PATH can be ignored. This has the same format as the library_dirs option. extra_compile_args: This allows the user to add specific compiler flags when compiling sources. There will be no formatting/checking of these additional compile flags, the compiler should complain if something is wrong. extra_link_args: This allows the user to add specific linker flags when linking the .so objects. There will be no formatting/checking of these additional compile flags, the linker should complain if something is wrong. When the config is runned it automatically prints out the read in information, thereby allowing the user to see what has been set and what has not. Tested with and without flags to check that it builds correctly.
* | BLD: distutils: more robust gfortran version checking. Closes gh-5768.Ralf Gommers2015-04-192-15/+40
| |
* | ENH: distutils: add compiler classes for Intel compilers + MSVC-built Python.Ralf Gommers2015-03-192-9/+55
| | | | | | | | Thanks to Intel for contributing this patch. Contact: Yolanda Chen.
* | Merge pull request #5644 from rgommers/fix-gfortran-version-checkCharles Harris2015-03-083-2/+11
|\ \ | | | | | | BLD: fix gfortran version check, and make distutils.test() work
| * | 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.
| * | MAINT: distutils: fix gfortran version check when gfortran emits warnings.Ralf Gommers2015-03-072-1/+10
| |/
* | STY: Some style cleanups in distutils.Charles Harris2015-02-272-109/+92
| | | | | | | | | | | | Break long lines. Spaces around operators. Remove dead code.
* | BLD: Improve mingw-w64 detection of check_embedded_lapack.carlkl2015-02-271-0/+17
| |
* | BLD: Add mingw-w64 support for the mingw64static option.carlkl2015-02-272-26/+49
|/
* DEV: Replace deprecated options for ifort.Åsmund Hjulstad2015-02-101-1/+1
| | | | | The /Qlowercase and /us options has been deprecated in the Intel Visual Fortran Compiler since at least version 2013. Replace with /names:lowercase and /assume:underscore.
* Uses universal_newlines option for subprocess.Popen to automatically decode ↵Åsmund Hjulstad2015-02-061-2/+2
| | | | the output. (instead of a subsequent decode step).
* Return output from nm command as string (and not bytes)Åsmund Hjulstad2015-02-051-1/+1
|
* BLD: ensure OPT link environment variable is readmbyt2015-01-061-3/+6
|
* BLD: ensure OPT build environment variable is readmbyt2015-01-051-0/+9
|