Skip to content

Commit

Permalink
version number for package from git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ejgroene committed Oct 16, 2024
1 parent 85b6918 commit 5e713a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
venv/
*.egg-info/
.eggs
__pycache__
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@

long_description = (here / "README.rst").read_text(encoding="utf-8")

version = "0.4.2"

setup(
name="selftest",
version=version,
description="Python In-Source Testing Library",
long_description=long_description,
long_description_content_type="text/x-rst",
Expand All @@ -52,4 +49,6 @@
"Programming Language :: Python :: 3",
],
python_requires=">=3.9",
setuptools_git_versioning={ "enabled": True },
setup_requires=["setuptools-git-versioning>=2.0,<3"]
)

0 comments on commit 5e713a3

Please sign in to comment.