feat: add pkg extras for postgres, mysql; update install doc

no longer requires psycopg2 by default; use postgres extra
This commit is contained in:
Lance Edgar 2025-01-26 17:50:00 -06:00
parent a14b97243c
commit d8c834095b
2 changed files with 28 additions and 11 deletions

View file

@ -32,11 +32,12 @@ classifiers = [
license = {text = "GNU General Public License v3+"}
requires-python = ">= 3.8"
dependencies = [
"psycopg2",
"WuttaWeb>=0.20.5",
]
[project.optional-dependencies]
postgres = ["psycopg2"]
mysql = ["mysql-connector-python"]
docs = ["Sphinx", "furo", "sphinxcontrib-programoutput", "enum-tools[sphinx]"]
tests = ["pytest-cov", "tox"]