Search
Search Results
Search finished, found 26 page(s) matching the search query.
- numpy.distutils.core.Extension
...eference NumPy’s module structure Packaging (numpy.distutils) numpy.distutils.core.Extension...
- numpy.distutils.core.Extension.has_cxx_sources
...numpy.distutils.core.Extension.has_cxx_sources...
- numpy.distutils.core.Extension.has_f2py_sources
...numpy.distutils.core.Extension.has_f2py_sources...
- numpy.distutils.core.Extension (Python class, in numpy.distutils.core.Extension)
numpy.distutils
user guide...ciPy structure Currently SciPy project consists of two packages: NumPy — it provides packages like: numpy.distutils - extension to Python distutils numpy.f2py - a tool to bind Fortran/C codes to Python numpy._core - future replacement of...
- For downstream package authors
..._TARGET_VERSION NPY_1_22_API_VERSION before including any NumPy headers (or the equivalent -D compiler flag) in every extension module that requires the NumPy C-API. This is mainly useful if you need to use newly added API at the cost of...
- NumPy 1.10.0 Release Notes
.... numpy.distutils now allows parallel compilation By passing –parallel=n or -j n to setup.py build the compilation of extensions is now performed in n parallel processes. The parallelization is limited to files within one extension so pro...
- NumPy 1.11.0 Release Notes
...m in a test function to mark the test to be skipped or mark it as a known failure, respectively. f2py.compile has a new extension keyword parameter that allows the fortran extension to be specified for generated temp files. For instance, th...
- NumPy 1.16.0 Release Notes
...as always overridden rather than appended to LDFLAGS and other similar such environment variables for compiling Fortran extensions. Now, if the NPY_DISTUTILS_APPEND_FLAGS environment variable is set to 1, the behavior will be appending. Th...
- NumPy 1.17.0 Release Notes
...umPy wheels on PyPI are built from the OpenBLAS development branch in order to avoid those problems. Highlights A new extensible random module along with four selectable random number generators and improved seeding designed for use in pa...
- NumPy 1.19.2 Release Notes
...Cython 3.0 and later The pxd declarations for Cython 3.0 were improved to avoid using deprecated NumPy C-API features. Extension modules built with Cython 3.0+ that use NumPy can now set the C macro NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSIO...
- NumPy 1.20.0 Release Notes
...n easier path to extending dtypes. This work is ongoing but enough has been done to allow experimentation and feedback. Extensive documentation improvements comprising some 185 PR merges. This work is ongoing and part of the larger project...
- NumPy 1.25.0 Release Notes
...++ standard library usage NumPy builds now depend on the C++ standard library, because the numpy.core._multiarray_umath extension is linked with the C++ linker. (gh-23601)...
- NumPy 1.4.0 Release Notes
...before operations which may modify data in place. Automatic detection of forward incompatibilities Previously, if an extension was built against a version N of NumPy, and used on a system with NumPy M < N, the import_array was successful...
- NumPy 2.0.0 Release Notes
...API for creating custom dtypes, Many outdated functions and macros removed, and private internals hidden to ease future extensibility, New, easier to use, initialization functions: PyArray_ImportNumPyAPI and PyUFunc_ImportUFuncAPI. Improv...
- NumPy core math library
...ned to a NaN (Not a Number), and is guaranteed to have the signbit unset (‘positive’ NaN). The corresponding single and extension precision macro are available with the suffix F and L. NPY_INFINITY This macro is defined to a positive in...
- numpy.distutils.core.Extension
...eference NumPy’s module structure Packaging (numpy.distutils) numpy.distutils.core.Extension...
- numpy.distutils.core.Extension.has_cxx_sources
...numpy.distutils.core.Extension.has_cxx_sources...
- numpy.distutils.core.Extension.has_f2py_sources
...numpy.distutils.core.Extension.has_f2py_sources...
- Packaging (
numpy.distutils
)...provides enhanced distutils functionality to make it easier to build and install sub-packages, auto-generate code, and extension modules that use Fortran-compiled libraries. A useful Configuration class is also provided in numpy.distutils....
- Status of
numpy.distutils
and migration advice...son-python build backend CMake, and the scikit-build-core build backend If you have modest needs (only simple Cython/C extensions; no need for Fortran, BLAS/LAPACK, nested setup.py files, or other features of numpy.distutils) and have been...
- Using F2PY
...see below), the following can be used in this mode: --overwrite-signatureOverwrites an existing signature file. 2. Extension module construction To construct an extension module, use f2py -m <modulename> <options> <fortran files> \...
- Using via
numpy.distutils
...tils module to deal with Fortran sources and F2PY signature files, e.g. compile Fortran sources, call F2PY to construct extension modules, etc. Example Consider the following setup_file.py for the fib and scalar examples from Three ways to...
- numpy.distutils.core.Extension.has_cxx_sources (Python method, in numpy.distutils.core.Extension.has_cxx_sources)
- numpy.distutils.core.Extension.has_f2py_sources (Python method, in numpy.distutils.core.Extension.has_f2py_sources)
- Using Python as glue
...anguage for scientific and engineering programming. There are two basic approaches to calling compiled code: writing an extension module that is then imported to Python using the import command, or calling a shared-library subroutine direct...