build: set version statically in pyproject.toml

This commit is contained in:
June 2024-06-06 20:23:48 +02:00
commit 89cb3586c2
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
3 changed files with 2 additions and 7 deletions

View file

@ -1 +0,0 @@
__version__ = "0.0.1"

View file

@ -1,11 +1,10 @@
import click
from infra_rebuild import operations
from infra_rebuild.__about__ import __version__
@click.group(context_settings={"help_option_names": ["-h", "--help"]}, invoke_without_command=True)
@click.version_option(version=__version__, prog_name="infra-rebuild")
@click.version_option(prog_name="infra-rebuild")
def infra_rebuild():
pass