Skip to content

Latest commit

 

History

History
executable file
·
42 lines (26 loc) · 963 Bytes

dev_setup_without_docker.md

File metadata and controls

executable file
·
42 lines (26 loc) · 963 Bytes

Development with Poetry

If you do not have docker, you can setup your local development environment as a python virtual environment using Poetry.

Prerequisites

  1. Make sure that GDAL's dependencies
  • libgdal (3.5.1 or greater)
  • header files (gdal-devel)
  • See .github/workflows/tests.yml to see how these dependencies are installed in CI

are satisfied. If not, install them.

  1. Install poetry according to your platform's instructions.

Set up a local environment

Run all commands in the repository root unless instructed otherwise

  1. Install dependencies and create a virtual environment
poetry install
  1. To use the virtual environment you can either enter it with
poetry shell

or prefix your normal shell commands with

poetry run

If you want to use jupyterlab see the instructions