From e220dd2bba1e8a3d125187a80da362e5cecaaa3a Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Mon, 29 Jul 2024 09:13:18 -0400 Subject: [PATCH] Remove unnecessary steps from uv source installation. --- INSTALLING.rst | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/INSTALLING.rst b/INSTALLING.rst index 9577a2f7..7c3eb6dc 100644 --- a/INSTALLING.rst +++ b/INSTALLING.rst @@ -26,39 +26,38 @@ Conda package PyPI ^^^^ -Use **pip** or **uv** to install **gsd** binaries from PyPI_: +Use **uv** or **pip** to install **gsd** binaries from PyPI_: .. code-block:: bash - $ python3 -m pip install gsd + $ uv pip install gsd + +**OR** .. code-block:: bash - $ uv pip install gsd + $ python3 -m pip install gsd Compile from source ------------------- To build the **gsd** Python package from source: -1. `Install prerequisites`_:: - - $ {{ package-manager }} install cmake cython git ninja numpy python pytest - -2. `Obtain the source`_:: +1. `Obtain the source`_:: $ git clone https://github.com/glotzerlab/gsd -3. Change to the repository directory:: +2. Change to the repository directory:: $ cd gsd -4. `Install with uv`_:: +3. `Install with uv`_:: $ python3 -m pip install . - **OR** `Build with CMake for development`_:: +4. **OR** `Install prerequisites`_ and `Build with CMake for development`_:: + $ {{ package-manager }} install cmake cython ninja numpy python pytest $ cmake -B build -S . -GNinja $ cd build $ ninja