File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ jobs:
1818 - name : Install Tools
1919 run : |
2020 python -m pip install --upgrade pip
21- pip install setuptools wheel twine build
21+ pip install twine build
2222 - name : Package and Upload
2323 env :
2424 STACKMANAGER_VERSION : ${{ github.event.release.tag_name }}
2525 TWINE_USERNAME : __token__
2626 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
2727 run : |
28- python -m build --sdist --wheel
28+ # python -m build is backend-independent
29+ python -m build
2930 twine upload dist/*
Original file line number Diff line number Diff line change @@ -28,17 +28,16 @@ changelog = "https://probeinterface.readthedocs.io/en/main/release_notes.html"
2828
2929
3030[build-system ]
31- requires = [" setuptools>=62.0 " ]
32- build-backend = " setuptools.build_meta "
31+ requires = [" hatchling " ]
32+ build-backend = " hatchling.build "
3333
34+ [tool .hatch .build .targets .wheel ]
35+ packages = [" src/probeinterface" ]
36+ include = [" probeinterface/schema/probe.json.schema" ]
3437
35- [tool .setuptools ]
36- packages = [" probeinterface" ]
37- package-dir = {"probeinterface" = " src/probeinterface" }
38-
39- [tool .setuptools .package-data ]
40- "probeinterface" = [" schema/probe.json.schema" ]
41-
38+ [tool .hatch .build .targets .sdist ]
39+ packages = [" src/probeinterface" ]
40+ include = [" probeinterface/schema/probe.json.schema" ]
4241
4342[project .optional-dependencies ]
4443
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments