|
10 | 10 | Installation |
11 | 11 | ============ |
12 | 12 |
|
13 | | -The simplest way to install icepyx is using pip. |
| 13 | +Quickstart |
| 14 | +---------- |
| 15 | + |
| 16 | +The simplest way to install icepyx is by using the |
| 17 | +`conda <https://docs.conda.io/projects/conda/en/latest/user-guide/index.html>`__ |
| 18 | +package manager. The command below takes care of setting up a virtual |
| 19 | +environment and installs icepyx along with all the necessary dependencies:: |
| 20 | + |
| 21 | + conda create --name icepyx-env --channel conda-forge icepyx |
| 22 | + |
| 23 | +To activate the virtual environment, you can do:: |
| 24 | + |
| 25 | + conda activate icepyx-env |
| 26 | + |
| 27 | + |
| 28 | +Using conda |
| 29 | +----------- |
| 30 | + |
| 31 | +If you already have a virtual conda environment set up and activated, you can |
| 32 | +install the latest stable release of icepyx from |
| 33 | +`conda-forge <https://anaconda.org/conda-forge/icepyx>`__ like so:: |
| 34 | + |
| 35 | + conda install icepyx |
| 36 | + |
| 37 | +To upgrade an installed version of icepyx to the latest stable release, do:: |
| 38 | + |
| 39 | + conda update icepyx |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +Using pip |
| 44 | +--------- |
| 45 | + |
| 46 | +Alternatively, you can also install icepyx using `pip <https://pip.pypa.io/en/stable/>`__. |
14 | 47 |
|
15 | 48 | .. code-block:: |
16 | 49 |
|
17 | 50 | pip install icepyx |
18 | 51 |
|
19 | 52 |
|
20 | | -Windows users will need to first install `Fiona`_, please look at the instructions there. Windows users may consider installing Fiona using pipwin |
| 53 | +Windows users will need to first install `Fiona`_, please look at the instructions there. |
| 54 | +Windows users may consider installing Fiona using pipwin |
21 | 55 |
|
22 | 56 | .. code-block:: |
23 | 57 |
|
24 | 58 | pip install pipwin |
25 | | - pipwin install Fiona |
| 59 | + pipwin install Fiona |
26 | 60 |
|
27 | 61 |
|
28 | | -Currently, updated packages are not automatically generated with each build. This means it is possible that pip will not install the latest release of icepyx. In this case, icepyx is also available for use via the GitHub repository. The contents of the repository can be download as a `zipped file`_ or cloned. |
| 62 | +Currently, conda and pip packages are generated with each tagged release. |
| 63 | +This means it is possible that these methods will not install the latest merged features of icepyx. |
| 64 | +In this case, icepyx is also available for use via the GitHub repository. |
| 65 | +The contents of the repository can be downloaded as a `zipped file`_ or cloned. |
29 | 66 |
|
30 | | -To use icepyx this way, fork this repo to your own account, then git clone the repo onto your system. |
| 67 | +To use icepyx this way, fork this repo to your own account, then git clone the repo onto your system. |
31 | 68 | To clone the repository: |
32 | 69 |
|
33 | 70 | .. code-block:: |
34 | 71 |
|
35 | 72 | git clone https://github.com/icesat2py/icepyx.git |
36 | 73 |
|
37 | 74 |
|
38 | | -Provided the location of the repo is part of your $PYTHONPATH, you should simply be able to add import icepyx to your Python document. |
| 75 | +Provided the location of the repo is part of your $PYTHONPATH, you should simply be able to add `import icepyx` to your Python document. |
39 | 76 | Alternatively, in a command line or terminal, navigate to the folder in your cloned repository containing setup.py and run |
40 | 77 |
|
41 | 78 | .. code-block:: |
42 | 79 |
|
43 | | - pip install -e |
44 | | -
|
45 | | -
|
46 | | -Future developments of icepyx may include conda as another simplified installation option. |
| 80 | + pip install -e. |
0 commit comments