Skip to content

Commit

Permalink
Put the install commands at the top
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Apr 12, 2021
1 parent f2db893 commit 59cf771
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,23 @@ Installation
Installing from PyPi
====================

.. code:: shell
.. note::

pip install laspy
While laspy 2.0 is in alpha / beta (pre release) don't forget the *-\-pre*

.. code-block:: shell
# To install with lazrs only
pip install --pre laspy[lazrs]
# To install with laszip only
pip install --pre laspy[laszip]
# To install with both
pip install --pre laspy[lazrs,laszip]
More information on laz support below

Optional dependencies for LAZ support
=====================================
Expand Down Expand Up @@ -40,17 +53,6 @@ Both the laszip bindings and lazrs are available on pip.

To install laspy with one of its supported backend use one of the following commands

.. code-block:: shell
# To install with lazrs only
pip install --pre laspy[lazrs]
# To install with laszip only
pip install --pre laspy[laszip]
# To install with both
pip install --pre laspy[lazrs,laszip]

.. _lazrs: https://github.com/tmontaigu/laz-rs
.. _laszip-python: https://github.com/tmontaigu/laszip-python
Expand Down

0 comments on commit 59cf771

Please sign in to comment.