Skip to content

Commit

Permalink
Simplify makefile for mamba installation
Browse files Browse the repository at this point in the history
  • Loading branch information
leavauchier committed Dec 21, 2023
1 parent 0144428 commit 1d5f9b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ SHELL = /bin/bash
##############################
# Install
##############################

mamba-env-create:
mamba env create -n pdaltools -f environment.yml

mamba-env-update:
mamba env update -n pdaltools -f environment.yml

install:
pip install -e .
mamba env update -n pdaltools -f environment.yml


##############################
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ from French government providing access to aerial imagery)
# Installation / Usage

This library can be used in different ways:
* directly from sources: `make install` creates a mamba environment with the required dependencies
* installed with `pip` from pypi: ` pip install ign-pdal-tools`
* used in a docker container: see documentation [Dockerfile](Dockerfile)

Expand Down Expand Up @@ -66,7 +67,7 @@ Before committing your changes, run the precommit hooks. They can be installed t

## Tests

Create the conda environment: `make mamba-env-create`
Create the conda environment: `make install`

Run unit tests: `make testing`

Expand Down

0 comments on commit 1d5f9b9

Please sign in to comment.