File: installation.rst

package info (click to toggle)
libpysal 4.12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,704 kB
  • sloc: python: 25,817; xml: 548; makefile: 48
file content (56 lines) | stat: -rw-r--r-- 1,504 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
53
54
55
56
.. Installation

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

libpysal supports python >= `3.10`_ only. Please make sure that you are
operating in a python 3 environment.

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

conda
+++++

libpysal is available through conda::


  conda install -c conda-forge libpysal


pypi
++++


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

  pip install -U libpysal


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 libpysal on github - `pysal/libpysal`_ while have not been incorporated
in the Pypi released version. You can achieve that by installing `pysal/libpysal`_
by running the following from a command shell::

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

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


.. _3.10: https://docs.python.org/3.10/
.. _Python Package Index: https://pypi.org/project/libpysal/
.. _pysal/libpysal: https://github.com/pysal/libpysal
.. _fork: https://help.github.com/articles/fork-a-repo/