From 5fd512dee61b064bb5eaed9823d2495630473909 Mon Sep 17 00:00:00 2001 From: Jake Faulkner Date: Thu, 6 Jun 2024 14:57:19 +1200 Subject: [PATCH] add setuptools definition --- pyproject.toml | 14 ++++++++++++++ setup.py | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 pyproject.toml create mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..e5ce4a5 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[build-system] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" + +[project] +name = "nshmdb" +authors = "QuakeCoRE" +description = "A library for working with 2022 NSHM fault geometry" +readme = "README.md" +requires-python = ">=3.7" +dynamic = ["dependencies", "version"] + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6068493 --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()