From 78ac274e31d20e8b517caba5ad7fb9874cf65fb3 Mon Sep 17 00:00:00 2001 From: Timmy Welch Date: Wed, 26 Apr 2023 15:32:06 -0700 Subject: [PATCH] Include pyproject.toml --- .github/workflows/build.yaml | 2 +- pyproject.toml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 pyproject.toml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 32a1dfc..d8609d6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -33,7 +33,7 @@ jobs: - name: Build and install wheel run: | - python -m build + tox run -m build python -m pip install dist/*.whl - name: tox diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..22cc467 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] +local_scheme = "no-local-version"