Skip to content

Commit

Permalink
0.9.1, fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Nov 18, 2024
1 parent 91dfac2 commit 647e370
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build]
[tool.hatch.version]
path = "src/tyro/__init__.py"

[tool.hatch.sdist]
packages = ["src/tyro"]

[tool.hatch.build.targets.wheel]
packages = ["src/tyro"]

[project]
name = "tyro"
authors = [
{name = "brentyi", email = "brentyi@berkeley.edu"},
]
version = "0.9.0" # TODO: currently needs to be synchronized manually with __init__.py.
description = "Strongly typed, zero-effort CLI interfaces"
description = "CLI interfaces & config objects, from types"
dynamic = ["version"]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.7"
Expand Down
7 changes: 3 additions & 4 deletions src/tyro/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from typing import TYPE_CHECKING

__version__ = "0.9.1"


from . import conf as conf
from . import constructors as constructors
from . import extras as extras
Expand All @@ -12,7 +15,3 @@
from .constructors._primitive_spec import (
UnsupportedTypeAnnotationError as UnsupportedTypeAnnotationError,
)


# TODO: this should be synchronized automatically with the pyproject.toml.
__version__ = "0.9.0"

0 comments on commit 647e370

Please sign in to comment.