Commit 647e370 1 parent 91dfac2 commit 647e370 Copy full SHA for 647e370
File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 2
2
requires = [" hatchling" ]
3
3
build-backend = " hatchling.build"
4
4
5
- [tool .hatch .build ]
5
+ [tool .hatch .version ]
6
+ path = " src/tyro/__init__.py"
7
+
8
+ [tool .hatch .sdist ]
9
+ packages = [" src/tyro" ]
10
+
11
+ [tool .hatch .build .targets .wheel ]
6
12
packages = [" src/tyro" ]
7
13
8
14
[project ]
9
15
name = " tyro"
10
16
authors = [
11
17
{
name =
" brentyi" ,
email =
" [email protected] " },
12
18
]
13
- version = " 0.9.0 " # TODO: currently needs to be synchronized manually with __init__.py.
14
- description = " Strongly typed, zero-effort CLI interfaces "
19
+ description = " CLI interfaces & config objects, from types "
20
+ dynamic = [ " version " ]
15
21
readme = " README.md"
16
22
license = { text = " MIT" }
17
23
requires-python = " >=3.7"
Original file line number Diff line number Diff line change 1
1
from typing import TYPE_CHECKING
2
2
3
+ __version__ = "0.9.1"
4
+
5
+
3
6
from . import conf as conf
4
7
from . import constructors as constructors
5
8
from . import extras as extras
12
15
from .constructors ._primitive_spec import (
13
16
UnsupportedTypeAnnotationError as UnsupportedTypeAnnotationError ,
14
17
)
15
-
16
-
17
- # TODO: this should be synchronized automatically with the pyproject.toml.
18
- __version__ = "0.9.0"
You can’t perform that action at this time.
0 commit comments