From 040ca64debc3a738521c654e66f7382356488452 Mon Sep 17 00:00:00 2001 From: Mario Winkler Date: Mon, 2 Dec 2024 16:27:11 +0100 Subject: [PATCH] Make pypgstac and psycopg2 dependencies optional --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index af58c30..a388a12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,9 +23,7 @@ dependencies = [ "pystac_client", "stactools_sentinel2", "rio-cogeo", - "requests", - "psycopg2-binary", - "pypgstac" + "requests" ] [project.optional-dependencies] @@ -35,6 +33,10 @@ dev = [ "pytest", "mkdocs" ] +db = [ + "psycopg2-binary", + "pypgstac" +] oseo = [ "GDAL>=3.8.5", "webcolors",