| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Warn in numpy/distutils/command/egg_info.py if using setuptools.sdist.
See gh-7127 for details.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
BLD: fix rebuilding after a failed build. Closes gh-5467.
|
| |
| |
| |
| | |
Also remove bench(), does't do anything here after the move to asv.
|
|/
|
|
|
|
| |
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.
|
|
|
|
|
| |
empty strings are the default for the new rpath,
extra_compile_args and extra_link_args sections
|
| |
|
| |
|
|\
| |
| | |
MAINT: Simplify some tests using temppath context manager.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
Closes gh-6863.
|
| |
|
|
|
|
|
| |
Some newer *.py files are missing the `from __future__` boilerplate
that helps assure Python2 and Python3 compatibility.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
MAINT: Dictionary litteral
|
| | |
|
|/ |
|
|\
| |
| | |
BUG: fix AttributeError in numpy distutils
|
| |
| |
| |
| | |
Corrects an AttributeError on windows in some cases caused by #6185
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 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.
|
|\
| |
| | |
LIBPATH with spaces is now supported Python 2.7+ and Win32
|
| | |
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
MAINT: remove Wreturn-type warnings from config checks
|
| |
| |
| |
| | |
closes gh-6427
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
BLD: Intel distutils fixes
|
| | |
| | |
| | |
| | | |
distutils.msvccompiler.MSVCCompiler
|
| | | |
|
| | |
| | |
| | |
| | | |
folder with whitespaces.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
BLD: fix various issues for Intel Fortran and GFortran
|
| | |
| | |
| | |
| | | |
Reported in gh-6095.
|
| | |
| | |
| | |
| | | |
See https://software.intel.com/en-us/node/524904. Reported in gh-6095.
|
|/ / |
|
|\ \
| | |
| | | |
BLD: fix for INTEL compiler build failure on linux when import msvc
|