File tree 3 files changed +9
-14
lines changed
3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,13 @@ jobs:
35
35
with :
36
36
persist-credentials : false
37
37
fetch-depth : 0
38
- - uses : actions/setup-python@v5
39
- with :
40
- python-version : " 3.12"
41
38
- uses : actions/setup-go@v5
42
39
with :
43
40
go-version : stable
44
41
cache : false
45
- - name : Install deps
46
- run : >-
47
- python -m pip install --upgrade pip &&
48
- pip install twine==5.1.1 build==1.2.2.post1 setuptools-scm==8.1.0
42
+ - name : Install the latest version of uv
43
+ uses : astral-sh/setup-uv@v5
49
44
- name : Build
50
- run : python -m build --wheel
45
+ run : uv build --wheel
51
46
- name : Upload
52
- run : twine upload dist/*
53
- env :
54
- TWINE_USERNAME : ${{ secrets.TWINE_USERNAME }}
55
- TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
47
+ run : uv publish
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools>=64" , " setuptools_scm>=8" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [tool .setuptools_scm ]
Original file line number Diff line number Diff line change @@ -45,7 +45,5 @@ def run(self):
45
45
"License :: OSI Approved :: MIT License" ,
46
46
"Operating System :: OS Independent" ,
47
47
],
48
- use_scm_version = True ,
49
- setup_requires = ["setuptools>=42" , "setuptools_scm" ],
50
48
python_requires = ">=3.6" ,
51
49
)
You can’t perform that action at this time.
0 commit comments