From 0c326e22b4b621b15d892ef3d8d515e28caedbdb Mon Sep 17 00:00:00 2001 From: Runar Ask Johannessen <89020325+equinor-ruaj@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:19:48 +0200 Subject: [PATCH] consolidate pyproject files (#6) * consolidate pyproject files * write version to folder --- pyproject.toml | 15 +++++++-------- pyproproject.toml | 6 ------ 2 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 pyproproject.toml diff --git a/pyproject.toml b/pyproject.toml index d2828af..bf155ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,12 @@ +[build-system] +requires = ["setuptools", "setuptools-scm", "wheel"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] +write_to = "src/fmu/sumo/uploader/version.py" + [tool.isort] profile = "black" -[build-system] -requires = [ - "pip>=19.1.1", - "setuptools>=28", - "setuptools_scm>=3.2.0", - "wheel", -] - [tool.black] line-length = 79 \ No newline at end of file diff --git a/pyproproject.toml b/pyproproject.toml deleted file mode 100644 index f8da794..0000000 --- a/pyproproject.toml +++ /dev/null @@ -1,6 +0,0 @@ -[build-system] -requires = ["setuptools", "setuptools-scm", "wheel"] -build-backend = "setuptools.build_meta" - -[tool.setuptools_scm] -write_to = "src/fmu/sumo/version.py"