summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Fix some typos in a code string and commentsDongjoon Hyun2016-01-272-2/+2
|
* MAINT: warn in egg_info command if using setuptools.sdist.Ralf Gommers2016-01-271-0/+8
| | | | | | Warn in numpy/distutils/command/egg_info.py if using setuptools.sdist. See gh-7127 for details.
* ENH: Allow site.cfg information with libraries keyNick Papior2016-01-171-1/+4
| | | | | | | | | | This PR fixes the case when users create a site.cfg to fix library locations, but does not change the library names. Now numpy.distutils correctly checks all options related to libraries by defaulting to the library from the class via _lib_names Signed-off-by: Nick Papior <nickpapior@gmail.com>
* Merge pull request #7029 from rgommers/fix-interrupted-rebuildCharles Harris2016-01-161-6/+6
|\ | | | | BLD: fix rebuilding after a failed build. Closes gh-5467.
| * 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.
* | BUG: make distutils.misc_util.is_string recognize unicode.Ralf Gommers2016-01-161-1/+2
|/ | | | | | This was triggered by the numpy version string (which is unicde) being included in metadata. This could also solve other problems for external users of numpy.distutils.
* BUG: skip invalid path distutils warning for empty stringsJulian Taylor2016-01-131-1/+1
| | | | | empty strings are the default for the new rpath, extra_compile_args and extra_link_args sections
* MAINT: remove unused f2py and SWIG tests from numpy.distutils.Ralf Gommers2016-01-0624-292/+0
|
* MAINT: remove outdated Pyrex support from distutils (as far as possible).Ralf Gommers2016-01-067-91/+9
|
* Merge pull request #6886 from charris/use-temppathCharles Harris2016-01-021-33/+21
|\ | | | | MAINT: Simplify some tests using temppath context manager.
| * MAINT: Simplify some tests using temppath context manager.Charles Harris2015-12-261-33/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces code of the pattern ``` fd, name = tempfile.mkstemp(...) os.close(fd) try: do stuff with name finally: os.remove(name) ``` with ``` with temppath() as name: do stuff with name ``` A few more complicated cases are also handled. The remains some particularly gnarly code the could probably be refactored to use temppath, but that is a more demanding project.
* | [TST] Refactor new raise_warnings logic for subpackage test suitesNathaniel J. Smith2015-12-301-3/+3
| |
* | DOC: Comment all O1s [ci skip]Eric Larson2015-12-281-2/+2
| |
* | FIX: Fix MKL for LinuxEric Larson2015-12-281-2/+2
|/
* MAINT: Remove commented out code blocksgfyoung2015-12-201-30/+0
|
* DOC: Use print only as function when print_function is imported from __future__gfyoung2015-12-192-2/+2
| | | | Closes gh-6863.
* MAINT: Resolve import naming collision and optimize importsFrancis T. O'Donovan2015-12-121-5/+3
|
* MAINT: Include from __future__ boilerplate in some files missing it.Charles Harris2015-12-052-0/+4
| | | | | Some newer *.py files are missing the `from __future__` boilerplate that helps assure Python2 and Python3 compatibility.
* BUG: link cblas library if cblas is detectedAllan Haldane2015-12-041-11/+38
|
* BUG: Readd fallback CBLAS detection on linux.Charles Harris2015-11-251-1/+29
| | | | | | | | | | Fallback CBLAS detection was removed in gh-6183 because it led to problems on windows when mingw was used with python compiled with msvc but msvc was not installed. As a result of that fix, CBLAS detection failed for some Linux installations. The solution here is to add back the fallback detection but make it specific to non-windows platforms. Closes #6675.
* BUG: fix removing tempdirs created during buildJulian Taylor2015-11-171-17/+18
| | | | | | | Old code used the thread local storage wrong and also only deleted the directories created for the last parallel build section as the exit handler only knows about one of the directories. Fix by storing all created tempdirs to delete at exit.
* Merge pull request #6649 from sieben/dict_litteralJaime2015-11-072-18/+15
|\ | | | | MAINT: Dictionary litteral
| * MAINT: Dictionary litteralRémy Léone2015-11-072-18/+15
| |
* | MAINT: list litteralRémy Léone2015-11-072-5/+2
|/
* Merge pull request #6470 from groutr/fix_attrerrorRalf Gommers2015-10-251-2/+3
|\ | | | | BUG: fix AttributeError in numpy distutils
| * BUG: fix AttributeError in numpy/distutils.Ryan Grout2015-10-191-2/+3
| | | | | | | | Corrects an AttributeError on windows in some cases caused by #6185
* | Revert "Merge pull request #5614 from charris/cleanup-gh-5587"Charles Harris2015-10-203-85/+32
| | | | | | | | | | | | | | | | | | Revert mingwpy modifications to distutils. They are causing problems for non-windows builds and it is better to wait until mingypy is further along. This reverts commit 96abd32de241864ee97f30357234cbc9a96c43ae, reversing changes made to 06af9918f6bf03b8d818ec834f9fb48db57d1489.
* | Revert "Merge pull request #6354 from mingwpy/mingwpy"Charles Harris2015-10-204-32/+35
|/ | | | | | | | | Revert mingwpy modifications to distutils. They are causing problems for non-windows builds and it is better to wait until mingypy is further along. This reverts commit cda64938eb150b1af6677db4754da3be5fd7e483, reversing changes made to 8cb3ec6ab804f594daf553e53e7cf7478656bebd.
* Merge pull request #6481 from charris/foreport-gh-5765Charles Harris2015-10-161-2/+2
|\ | | | | LIBPATH with spaces is now supported Python 2.7+ and Win32
| * LIBPATH with spaces is now supported Python 2.7+ and Win32Gabi Davar2015-10-161-2/+2
| |
* | BUG: Fix Intel compiler flags for OS X buildChris Hogan2015-10-151-2/+12
|/
* DOC: Document the reason msvc requires SSE2 on 32 bit platforms.Charles Harris2015-10-101-0/+2
|
* BLD: enable SSE2 for 32-bit msvc 9 and 10 compilersChristoph Gohlke2015-10-101-0/+5
|
* Merge pull request #6436 from juliantaylor/conf-warningsCharles Harris2015-10-101-0/+2
|\ | | | | MAINT: remove Wreturn-type warnings from config checks
| * MAINT: remove Wreturn-type warnings from config checksJulian Taylor2015-10-091-0/+2
| | | | | | | | closes gh-6427
* | BLD: do not build exclusively for SSE4.2 processorsChristoph Gohlke2015-10-091-1/+1
| |
* | BLD: do not build exclusively for SSE4.2 processorsChristoph Gohlke2015-10-091-1/+1
| |
* | BLD: mingwpy fixescarlkl2015-09-244-35/+32
| |
* | Merge pull request #6243 from dzagorny/intel-distutils-fixesCharles Harris2015-09-228-63/+92
|\ \ | | | | | | BLD: Intel distutils fixes
| * | Changed from distutils_MSVCCompiler toDmitry Zagorny2015-09-152-11/+12
| | | | | | | | | | | | distutils.msvccompiler.MSVCCompiler
| * | Align with pep8Dmitry Zagorny2015-09-152-5/+8
| | |
| * | Fixed issue: SciPy can't be build in case, if python was installed intoDmitry Zagorny2015-09-151-28/+15
| | | | | | | | | | | | folder with whitespaces.
| * | MSVCCompiler overwrite 'lib' and 'include' environment variables. ThisDmitry Zagorny2015-09-156-35/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Added closing for 'so_dup' and 'se_dup' file descriptors.Dmitry Zagorny2015-09-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: _exec_command function doesn't close 'so_dup' and 'se_dup' file descriptors.SciPy try to build scipy\special\amos\zunik.f and crash:error: Command "C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64\ifort.exe /nologo /MD /nbs /names:lowercase /assume:underscore /O1 -IC:\Python27\lib\site-packages\numpy\core\include -c /c scipy\special\amos\zunik.f /Fobuild\temp.win-amd64-2.7\scipy\special\amos\zunik.o" failed with exit status -1073741502
* | | ENH: enabled extra_link_args in OpenBLAS segmentNick Papior2015-09-171-2/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | The extra_link_args is sadly not intrinsically used for many parts of the system_info code. This commit adds the linking properties stored when using extra_link_args in the openblas section to bypass any difficulties in the usage of OpenBLAS. This is especially helpful when linking against external LAPACK libraries which requires -lgfortran and possibly -lm for correct linking.
* | Merge pull request #6169 from rgommers/intel-buildCharles Harris2015-08-212-2/+2
|\ \ | | | | | | BLD: fix various issues for Intel Fortran and GFortran
| * | BUG: fix typo which fused two compile flags on Windows for GFortran.Ralf Gommers2015-08-201-1/+1
| | | | | | | | | | | | Reported in gh-6095.
| * | BUG: fix 32-bit arch flag for Intel Fortran compiler.Ralf Gommers2015-08-201-1/+1
| | | | | | | | | | | | See https://software.intel.com/en-us/node/524904. Reported in gh-6095.
* | | BLD: fix compiler_cxx check failureyolanda152015-08-221-0/+1
|/ /
* | Merge pull request #6211 from yolanda15/intelcCharles Harris2015-08-191-31/+37
|\ \ | | | | | | BLD: fix for INTEL compiler build failure on linux when import msvc