| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
Not super important, but saves some lines. Only the low-hanging ones here.
Found while tracking down an unrelated ResourceWarning
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#12448)
* Review F401,F841,F842 flake8 errors (unused variables, imports)
* Review comments
* More tests in test_installed_npymath_ini
* Review comments
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* replace usage of exec_command() with standard
library equivalent in the distutils config
module
|
|\
| |
| | |
MAINT: flake8 cleanups
|
| | |
|
|/
|
|
|
|
|
| |
* the single usage of exec_command in
distutils build_ext module has been
replaced with a standard library usage
of subprocess
|
| |
|
|
|
| |
Found via `codespell`
|
|
|
|
|
|
|
| |
When the gfortran functionality is not used,
we don't want to enable the __config__
functionality. This mistake was put in as an earlier
optimization but led to failures with conda.
|
|
|
|
|
|
|
|
| |
Here, we align the extra-dll name to the one
that auditwheel uses, and we handle the case where
1) there is more than one root package and
2) the root package name is different
than the distribution name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add concept of unlinkable Fortran object files on the level of
build_clib/build_ext.
Make build_clib generate fake static libs when unlinkable object files are
present, postponing the actual linkage to build_ext.
This enables MSVC+gfortran DLL chaining to only involve those DLLs that
are actually necessary for each .pyd file, rather than linking everything
in to every file. Linking everything to everywhere has issues due to
potential symbol clashes and the fact that library build order is
unspecified.
Record shared_libs on disk instead of in system_info. This is necessary
for partial builds -- it is not guaranteed the compiler is actually called
for all of the DLL files.
Remove magic from openblas msvc detection. That this worked previously
relied on the side effect that the generated openblas DLL would be added
to shared_libs, and then being linked to all generated outputs.
|
|
|
|
|
|
|
|
|
|
| |
This allows mingw's gfortran to work with MSVC. DLLs are
autogenerated using heuristics that should work with most
cases. In addition, a libopenblas DLL is compiled from
the static lib for use with MSVC.
All generated DLLs have randomized names so that no clashes
will occur.
|
|
|
|
| |
- Now that `set` datastructure has been added the `builtin` module, we do not need to explicitly import from `sets` module
|
|
|
|
| |
Bare except is very rarely the right thing
|
|
|
|
|
| |
Placing them all under the same name in the top level folder breaks when
using the parallel extension compilation option of python 3.5.
|
|
|
|
| |
Addresses comment of @stefanv on gh-7131.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Enforces that stacklevel is used in warnings.warn and "ignore"
is not used in filterwarnings or simplefilter for most of numpy.
|
| |
|
|
|
|
| |
The ATLAS version check still depends on this function.
|
| |
|
| |
|
|
|
|
|
|
| |
Warn in numpy/distutils/command/egg_info.py if using setuptools.sdist.
See gh-7127 for details.
|
| |
|
|\
| |
| | |
MAINT: remove Wreturn-type warnings from config checks
|
| |
| |
| |
| | |
closes gh-6427
|
|/
|
|
|
|
|
|
| |
- 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).
|
|\
| |
| | |
BUG: Fix handling of dependencies between libraries
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
| |
python3.5 uses --parallel instead of --jobs
|
|
|
|
| |
Deprecated functions in numpy/distutils/command/config.py.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Ensure that build_ext.include_dirs is the same physical list as
build_ext.distribution.include_dirs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow extensions using numpy.distutils to compile in parallel.
By passing `--jobs=n` or `-j n` to `setup.py build` the compilation of
extensions is now performed in `n` parallel processes.
Additionally the environment variable NPY_NUM_BUILD_JOBS is used as
the default value, if its unset the default is serial compilation.
The parallelization is limited to within the files of an extension, so
only numpy multiarraymodule really profits but its still a nice
improvement when you have 2-4 cores.
Unfortunately Cython will not profit at all as it tends to build one
module per file.
|
|
|
|
|
| |
minimum requirement is python2.6, this allows removing a couple 2.3 and
2.4 checks.
|
|
|
|
|
|
| |
Define it as NPY_RESTRICT
Restrict indicates a memory block does not alias, gcc supports it in c89
with the __restrict__ keyword.
|
|
|
|
| |
removes about 400 lines of warnings from the build logs
|
|\
| |
| | |
BLD: fix build issues with MSVC10 on Windows. Closes gh-4245.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| | |
|
| | |
|
| |
| |
| |
| | |
attributes.
|
| | |
|
| | |
|
| | |
|
|/ |
|