File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 12
12
- uses : actions/checkout@v4
13
13
- uses : extractions/setup-just@v2
14
14
- uses : astral-sh/setup-uv@v3
15
- with :
16
- enable-cache : true
17
- cache-dependency-glob : " **/pyproject.toml"
18
15
- run : just publish
19
16
env :
20
17
PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -19,5 +19,6 @@ test *args:
19
19
20
20
publish :
21
21
rm -rf dist
22
+ uv version $GITHUB_REF_NAME
22
23
uv build
23
24
uv publish --token $PYPI_TOKEN
Original file line number Diff line number Diff line change @@ -27,10 +27,7 @@ classifiers = [
27
27
" Typing :: Typed" ,
28
28
" Topic :: Software Development :: Libraries" ,
29
29
]
30
- dynamic = [" version" ]
31
- packages = [
32
- { include = " lite_bootstrap" },
33
- ]
30
+ version = " 0"
34
31
35
32
[project .urls ]
36
33
repository = " https://github.com/modern-python/lite-bootstrap"
@@ -124,11 +121,12 @@ dev = [
124
121
]
125
122
126
123
[build-system ]
127
- requires = [" hatchling " , " hatch-vcs " ]
128
- build-backend = " hatchling.build "
124
+ requires = [" uv_build " ]
125
+ build-backend = " uv_build "
129
126
130
- [tool .hatch .version ]
131
- source = " vcs"
127
+ [tool .uv .build-backend ]
128
+ module-name = " lite_bootstrap"
129
+ module-root = " "
132
130
133
131
[tool .mypy ]
134
132
python_version = " 3.10"
You can’t perform that action at this time.
0 commit comments