Debian Codegraph @

docs/installing.rst

raw
1 Installation
2 ============
3
4 Required dependencies
5 ---------------------
6
7 - Python: >=3.7
8 - `numpy <https://numpy.org/>`__ (1.13.3 or later)
9
10
11 Instructions
12 ------------
13
14 The easiest way to get everything installed is to use conda_ command line tool::
15
16 $ conda install cftime
17
18 .. _conda: https://docs.conda.io/en/latest/
19
20 We recommend using the community maintained `conda-forge <https://conda-forge.org/>`__ channel if you need difficult\-to\-build dependencies such as cartopy or pynio::
21
22 $ conda install -c conda-forge cftime
23
24 New releases may also appear in conda-forge before being updated in the default
25 channel.
26
27 If you don't use conda, be sure you have the required dependencies (numpy and
28 cython) installed first. Then, install cftime with pip::
29
30 $ pip install cftime
31
32
33 Developing
34 ----------
35
36
37 When developing we recommend cloning the GitHub repository,
38 building the extension in-place with `cython <https://cython.org/>`__ 0.19 or later
39 ``python setup.py build_ext --inplace``
40
41 and running the test suite to check if the changes are passing the tests
42 ``pytest --pyargs test``