Skip to content

Commit

Permalink
fix: update to setuptools_git_versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
thenodon committed Nov 14, 2024
1 parent f6a850c commit d6630f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@

from setuptools import setup, find_packages

from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

def read(fname):
return open(join(dirname(__file__), fname)).read()


setup(
name='icinga2-exporter',
version_config={
setuptools_git_versioning={
"template": "{tag}",
"dev_template": "{tag}.dev{ccount}",
"dirty_template": "{tag}.post{ccount}+git.{sha}.dirty",
Expand Down

0 comments on commit d6630f0

Please sign in to comment.