.. _spkg_numpy:

numpy: Package for scientific computing with Python
===================================================

Description
-----------

This package adds numerical linear algebra and other numerical computing
capabilities to python.


Upstream Contact
----------------

-  https://numpy.org/
-  Travis Oliphant
-  Fernando Perez
-  Brian Granger

Dependencies
------------

-  GNU patch
-  Python
-  Lapack
-  Blas
-  Atlas
-  Fortran


Special Update/Build Instructions
---------------------------------

-  Scipy uses numpy's distutils to control its compilation of fortran
   code.

   Whenever numpy is updated it is necessary to make sure that scipy
   still builds ok.

Type
----

standard


Version Information
-------------------

package-version.txt::

    1.20.3

install-requires.txt::

    numpy >=1.19


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install python:numpy

homebrew:

.. CODE-BLOCK:: bash

    $ brew install python:numpy

macports:
install the following packages: python:numpy
See https://repology.org/project/python:numpy/versions

However, these system packages will not be used for building Sage
because using Python site-packages is not supported by the Sage distribution;
see https://trac.sagemath.org/ticket/29023

