From 61b9bedd9321aaa585aea05515bc4c08c2bcd542 Mon Sep 17 00:00:00 2001 From: Jeff Jennings Date: Mon, 24 Jun 2024 15:52:36 -0400 Subject: [PATCH] simplify versioning --- py_template/__init__.py | 2 +- pyproject.toml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/py_template/__init__.py b/py_template/__init__.py index bad5057..b3c06d4 100644 --- a/py_template/__init__.py +++ b/py_template/__init__.py @@ -1 +1 @@ -from .version import version as __version__ \ No newline at end of file +__version__ = "0.0.1" \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index fee0095..0feaaa8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ authors = [ { name = "CCA Software Group", email = "jjennings@flatironinstitute.org" }, ] dependencies = ["numpy>=1.24"] -dynamic = ["version"] [project.optional-dependencies] test = [ @@ -41,9 +40,6 @@ include-package-data = true [tool.setuptools.packages.find] -[tool.setuptools_scm] -write_to = "py_template/version.py" - [tool.pytest.ini_options] testpaths = [ "test", @@ -55,11 +51,9 @@ omit = [ "py_template/__init*", "py_template/*setup_package*", "py_template/extern/*", - "py_template/version*", "*/py_template/__init*", "*/py_template/*setup_package*", "*/py_template/extern/*", - "*/py_template/version*", "test/*", "*/test/*", "test/conftest.py",