From 7b1370cda9ccb973cf9faa9637a3867c794a6db6 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 20 Dec 2023 12:51:03 -0700 Subject: [PATCH] Fix: add _Version.py to vcs and remove template --- .gitignore | 10 +--------- pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 2f6eecb..75f5483 100644 --- a/.gitignore +++ b/.gitignore @@ -15,14 +15,10 @@ __pycache__ .Python build/ dist/ -sdist/ -MANIFEST - # pyenv .python-version - # Environments .env .venv @@ -32,17 +28,13 @@ ENV/ env.bak/ venv.bak/ - - # mypy .mypy_cache/ .dmypy.json dmypy.json token.txt -src/test-model.py -src/pyosmeta/_version_generated.py -.pdm-build/* +src/pyosmeta/_version.py # local files all-submissions.csv diff --git a/pyproject.toml b/pyproject.toml index 8139cb7..86d1366 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,8 +74,6 @@ update-review-teams = "pyosmeta.cli.update_review_teams:main" [tool.hatch] version.source = "vcs" build.hooks.vcs.version-file = "src/pyosmeta/_version.py" -# If you're using a v in the version you have to create a template -#hbuild.hooks.vcs.template = '__version__ = "v{version}"' [tool.black] line-length = 79