From 9794658bdb4228334aca0aecca9c95cd05958ae8 Mon Sep 17 00:00:00 2001 From: Arjun Savel <35353555+arjunsavel@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:18:34 -0400 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fd22314..8a0fe8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,9 @@ [build-system] -requires = ["setuptools>=64", "setuptools_scm>=8", "setuptools-git-versioning"] +requires = ["setuptools>=64", "setuptools_scm[toml]>=8", "setuptools-git-versioning<2"] build-backend = "setuptools.build_meta" -[tool.setuptools-git-versioning] -enabled = true - [project] name = "scope" - authors = [ {name = "Arjun Savel", email = "asavel@umd.edu"}, {name= "Megan Bedell"}, @@ -18,7 +14,6 @@ authors = [ {name= "Jorge A. Sanchez"}, {name= "Michael R. Line"}, ] - description = "Simulating high-resolution spectroscopy of exoplanet atmospheres." readme = "README.md" requires-python = ">=3.10" @@ -51,11 +46,16 @@ dependencies = [ "pymc>=4", "schwimmbad", ] - dynamic = ["version"] [tool.setuptools_scm] +write_to = "scope/_version.py" +[tool.setuptools-git-versioning] +enabled = true +template = "{tag}" +dev_template = "{tag}.post{ccount}+git.{sha}" +dirty_template = "{tag}.post{ccount}+git.{sha}.dirty" [project.urls] Homepage = "https://github.com/arjunsavel/scope"