File: installation.rst

package info (click to toggle)
mapclassify 2.8.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,632 kB
  • sloc: python: 2,521; makefile: 44; lisp: 7
file content (52 lines) | stat: -rw-r--r-- 1,805 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
42
43
44
45
46
47
48
49
50
51
52
.. Installation

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

mapclassify supports python `3.9`_, `3.10`_, `3.11`_, and `3.12`_. Please make sure that you are
operating in a python 3 environment.

Installing released version
---------------------------

mapclassify is available in on `conda`_ via the `conda-forge`_ channel::

  conda install -c conda-forge mapclassify


mapclassify is also available on the `Python Package Index`_. Therefore, you can either
install directly with `pip` from the command line::

  pip install -U mapclassify


or download the source distribution (.tar.gz) and decompress it to your selected
destination. Open a command shell and navigate to the decompressed folder.
Type::

  pip install .

Installing development version
------------------------------

Potentially, you might want to use the newest features in the development
version of mapclassify on github - `pysal/mapclassify`_ while have not been incorporated
in the Pypi released version. You can achieve that by installing `pysal/mapclassify`_
by running the following from a command shell::

  pip install git+https://github.com/pysal/mapclassify.git

You can  also `fork`_ the `pysal/mapclassify`_ repo and create a local clone of
your fork. By making changes
to your local clone and submitting a pull request to `pysal/mapclassify`_, you can
contribute to mapclassify development.

.. _3.9: https://docs.python.org/3.9/
.. _3.10: https://docs.python.org/3.10/
.. _3.11: https://docs.python.org/3.11/
.. _3.12: https://docs.python.org/3.12/
.. _conda: https://docs.conda.io/en/latest/
.. _conda-forge: https://anaconda.org/conda-forge/mapclassify
.. _Python Package Index: https://pypi.org/project/mapclassify/
.. _pysal/mapclassify: https://github.com/pysal/mapclassify
.. _fork: https://help.github.com/articles/fork-a-repo/