From 9b59f7e1e24f61b8c994ef801c48729974c5b9a1 Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Thu, 22 Sep 2022 12:41:02 -0400 Subject: [PATCH] Add pyproject.toml file for PEP 517 builds This file is now required for building Python packages, in the most general case. --- pyproject.toml | 5 +++++ setup.py | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a816384 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,5 @@ +[build-system] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] diff --git a/setup.py b/setup.py index 0d9af21..c4f5013 100644 --- a/setup.py +++ b/setup.py @@ -46,6 +46,4 @@ extras_require={ "dev": dev_requires, }, - setup_requires=['setuptools_scm'], - use_scm_version=True, zip_safe=False)