diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8ec00ef..f55fe5d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install hatchling twine build + pip install hatchling twine build hatch-vcs - name: Build app run: | python -m build diff --git a/pyproject.toml b/pyproject.toml index 82ffd30..f9e7c3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,10 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling", "hatch_vcs"] build-backend = "hatchling.build" [project] name = "PyReprism" +version = "0.0.3" authors = [ { name= "UNLV EVOL LAB", email="ogenrwot@unlv.nevada.edu" }, ] @@ -24,9 +25,6 @@ classifiers = [ "Operating System :: OS Independent", ] -[tool.hatch.version.sources.git] -tag-pattern = "v*" - [tool.hatch.build.targets.wheel] packages = ["src/PyReprism"] diff --git a/requirements.txt b/requirements.txt index b93ccf2..7a19b52 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ flake8 pytest-cov build twine -hatchling \ No newline at end of file +hatchling +hatch-vcs \ No newline at end of file