File: installation.rst

package info (click to toggle)
cf-python 1.3.2+dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 7,996 kB
  • sloc: python: 51,733; ansic: 2,736; makefile: 78; sh: 2
file content (74 lines) | stat: -rw-r--r-- 1,615 bytes parent folder | download
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.. currentmodule:: cf
.. default-role:: obj

.. highlight:: bash

Installation
============


Install by conda
----------------

These two commands will install cf-python, all of its required
dependencies and the two optional packages cf-plot
(`<http://ajheaps.github.io/cf-plot>`_) and ESMF
(`<https://www.earthsystemcog.org/projects/esmf>`_)::

   conda install -c ncas -c scitools cf-python cf-plot  
   conda install -c nesii esmpy

To install cf-python and all of its required dependencies alone::

   conda install -c ncas -c scitools cf-python

To update cf-python, cf-plot and ESMF to the latest versions::

   conda update -c ncas -c scitools cf-python cf-plot 
   conda update -c nesii esmpy


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

If not installing with conda, then the dependencies will need to
satisfied manually. See
`<https://bitbucket.org/cfpython/cf-python/overview>`_ for the current
list of dependencies.


Install from PyPi  with pip
---------------------------

::

   pip install cf-python

Install from source
-------------------

Download the cf package from `<https://bitbucket.org/cfpython/cf-python/downloads>`_

Unpack the library::

   tar zxvf cf-python-1.2.1.tar.gz
   cd cf-python-1.2.1

To install the cf package to a central location::

   python setup.py install

To install the cf package locally to the user in a default location::

   python setup.py install --user

To install the cf package in the <directory> of your choice::

   python setup.py install --home=<directory>


Issues
------

Please raise any questions or problems at
`<https://bitbucket.org/cfpython/cf-python/issues>`_