File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ jobs:
2020 with :
2121 python-version : " 3.10"
2222
23- - name : Install hatch
24- run : pip install hatch
23+ - name : Install build tooling
24+ run : pip install build setuptools setuptools_scm
2525
2626 - name : Build wheel and sdist
27- run : hatch build
27+ run : python -m build
2828
2929 - name : Publish to PyPI
3030 uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" hatchling>=1.24.0 " , " hatch-vcs>=0.4 " ]
3- build-backend = " hatchling.build "
2+ requires = [" setuptools>=61 " , " wheel " , " setuptools_scm[toml]>=8 " ]
3+ build-backend = " setuptools.build_meta "
44
55[project ]
66name = " cosmic-torch"
@@ -26,9 +26,8 @@ Homepage = "https://github.com/BorgwardtLab/Cosmo"
2626Repository = " https://github.com/BorgwardtLab/Cosmo"
2727Issues = " https://github.com/BorgwardtLab/Cosmo/issues"
2828
29- [tool .hatch . build . targets . wheel ]
30- packages = [" cosmic" ]
29+ [tool .setuptools . packages . find ]
30+ include = [" cosmic" , " cosmic.* " ]
3131
32- [tool .hatch .version ]
33- source = " vcs"
32+ [tool .setuptools_scm ]
3433
You can’t perform that action at this time.
0 commit comments