diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..df6fd1a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[build-system] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "nshmdb" +authors = [{name="QuakeCoRE"}] +description = "A library for working with 2022 NSHM fault geometry" +readme = "README.md" +requires-python = ">=3.7" +dynamic = ["dependencies", "version"] + +[project.scripts] +nshm_db_generator = "nshmdb.scripts.nshm_db_generator:app" + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} + diff --git a/requirements.txt b/requirements.txt index 9a9e03f..a98ba4a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ numpy pandas pygments pygmt -qcore +qcore @ git+https://github.com/ucgmsim/qcore scipy tqdm typer