build: set version statically in pyproject.toml
This commit is contained in:
parent
5c55bd3e97
commit
89cb3586c2
3 changed files with 2 additions and 7 deletions
|
@ -1 +0,0 @@
|
|||
__version__ = "0.0.1"
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue