File tree Expand file tree Collapse file tree 3 files changed +56
-4
lines changed
Expand file tree Collapse file tree 3 files changed +56
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ # Workflow runs a release job on every published tag.
4+ on :
5+ release :
6+ types : [published]
7+
8+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
9+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
10+ concurrency :
11+ group : " release"
12+ cancel-in-progress : false
13+
14+ env :
15+ UV_SYSTEM_PYTHON : true
16+
17+ jobs :
18+ release :
19+ name : Upload release to PyPI
20+ runs-on : ubuntu-latest
21+ environment :
22+ name : pypi
23+ url : https://pypi.org/p/fuller
24+ permissions :
25+ id-token : write
26+
27+ steps :
28+ - uses : actions/checkout@v4
29+ with :
30+ fetch-depth : 0
31+
32+ - name : Set up Python
33+ uses : actions/setup-python@v5
34+ with :
35+ python-version : " 3.x"
36+
37+ - name : Install dependencies
38+ run : |
39+ curl -LsSf https://astral.sh/uv/install.sh | sh
40+ uv pip install build
41+
42+ - name : Build package
43+ run : |
44+ git reset --hard HEAD
45+ python -m build
46+
47+ - name : Publish package distributions to PyPI
48+ uses : pypa/gh-action-pypi-publish@release/v1
49+ with :
50+ verbose : true
Original file line number Diff line number Diff line change 1- include README.md
2- include requirements.txt
1+ prune *
2+ exclude *
3+ recursive-include fuller *.py
4+ include pyproject.toml README.md
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ authors = [
1515]
1616description = " Integrated computational framework for electronic band structure reconstruction and parametrization"
1717readme = " README.md"
18- license = { file = " LICENSE" }
19- requires-python = " >=3.9,<3.13 "
18+ license-files = [ " LICENSE" ]
19+ requires-python = " >=3.8 "
2020classifiers = [
2121 " Development Status :: 3 - Alpha" ,
2222 " Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments