File: installation.rst

package info (click to toggle)
contourpy 1.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,688 kB
  • sloc: python: 7,998; cpp: 6,241; makefile: 13
file content (41 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Installation
============

Installing from prepackaged binaries
------------------------------------

Official releases
^^^^^^^^^^^^^^^^^

Official releases of ContourPy are available from `PyPI`_ and `conda-forge`_ for Linux, macOS and
Windows.

#. To install from `PyPI`_:

   .. code-block:: bash

      $ pip install contourpy

#. To install from `conda-forge`_:

   .. code-block:: bash

      $ conda install -c conda-forge contourpy

The only compulsory runtime dependency is `NumPy`_.

If you want to make use of one of ContourPy's utility renderers in the :mod:`contourpy.util` module
you will also have to install either `Matplotlib`_ or `Bokeh`_.

Pre-releases
^^^^^^^^^^^^

Prepackaged wheels of the latest pre-release ContourPy code, at most a week old, are available as
part of the `Scientific Python`_ nightly wheels service. These are intended to be used for testing
and are not necessarily stable. See `SPEC 4`_ for more details.


Installing from source
----------------------

If you wish to install from source code, see the :ref:`developer_guide`.