File tree Expand file tree Collapse file tree 5 files changed +1244
-544
lines changed
Expand file tree Collapse file tree 5 files changed +1244
-544
lines changed Original file line number Diff line number Diff line change 1+ name : Publish reflex-pyplot
2+
3+ on :
4+ push :
5+ tags :
6+ - " pyplot-v*"
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ environment : release
12+ permissions :
13+ id-token : write
14+ contents : read
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Set up uv
23+ uses : astral-sh/setup-uv@v4
24+ with :
25+ version : " latest"
26+
27+ - name : Set up Python
28+ run : uv python install
29+
30+ - name : Build package
31+ run : |
32+ cd pyplot
33+ uv build
34+
35+ - name : Publish to PyPI
36+ run : |
37+ cd pyplot
38+ uv publish
39+ env :
40+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_PYPLOT_TOKEN }}
41+
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools " , " wheel " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" hatchling " , " uv-dynamic-versioning " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " reflex-altair"
7- version = " 0.1.1 "
7+ dynamic = [ " version " ]
88description = " Reflex custom component to render altair/vega"
99readme = " README.md"
1010license = { text = " Apache-2.0" }
@@ -19,8 +19,22 @@ classifiers = ["Development Status :: 4 - Beta"]
1919homepage = " https://github.com/LeoGrosjean/reflex-graphing/tree/main/altair"
2020source = " https://github.com/LeoGrosjean/reflex-graphing/tree/main/altair"
2121
22- [project . optional-dependencies ]
23- dev = [ " build " , " twine " ]
22+ [tool . hatch . version ]
23+ source = " uv-dynamic-versioning "
2424
25- [tool .setuptools .packages .find ]
26- where = [" custom_components" ]
25+ [tool .uv-dynamic-versioning ]
26+ vcs = " git"
27+ style = " pep440"
28+ bump = true
29+ metadata = false
30+
31+ [tool .hatch .build .targets .wheel ]
32+ packages = [" custom_components" ]
33+
34+ [dependency-groups ]
35+ dev = [
36+ " build" ,
37+ " twine" ,
38+ " pytest" ,
39+ " ruff"
40+ ]
You can’t perform that action at this time.
0 commit comments