Installation¶
Requirements¶
plpygis
has no dependencies beyond an installation of Python 2.7.x or 3.6.x. Additionally, plpygis
can use Shapely (version 1.6 or greater) if available. Without it, conversion to and from Shapely geometries will be impossible.
Python Package Index¶
plpygis
may be installed from PyPI.
$ pip install plpygis
It is recommended that plpygis
is installed into the system installation of Python or it may not be available in PL/Python functions.
Source¶
The package sources are available at https://github.com/bosth/plpygis. Building and installing plpygis
from source can be done with setuptools:
$ python setup.py install