Skip to content

Commit

Permalink
Revise install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Jan 19, 2024
1 parent 36d9cf7 commit d7aca95
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,29 @@ Installation

First, download and install version 1.8.5+ of the `libspatialindex`_ library from:

https://libspatialindex.org/
https://libspatialindex.org

The library is a GNU-style build, so it is a matter of::
The library support CMake, so it is a matter of::

$ ./configure; make; make install
$ mkdir build && cd build
$ cmake ..
$ cmake --build . -j
$ cmake cmake --install .

You may need to run the ``ldconfig`` command after installing the library to
ensure that applications can find it at startup time.

At this point you can get Rtree 0.7.0 via easy_install::
Rtree can be easily installed via pip::

$ easy_install Rtree
$ pip install Rtree

or by running the local setup.py::
or by running in a local source directory::

$ python setup.py install
$ pip install -e .

You can build and test in place like::

$ python setup.py test
$ pytest

Windows
..............................................................................
Expand All @@ -36,7 +39,7 @@ The Windows DLLs of `libspatialindex`_ are pre-compiled in
windows installers that are available from `PyPI`_. Installation on Windows
is as easy as::

c:\python2x\scripts\easy_install.exe Rtree
pip install Rtree


.. _`PyPI`: https://pypi.org/project/Rtree/
Expand Down

0 comments on commit d7aca95

Please sign in to comment.