Skip to content

Commit b04ecc9

Browse files
author
sysadmin
committed
sync
1 parent 09e507a commit b04ecc9

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,12 @@ https://www.moritzkoerber.com/posts/versioning-with-setuptools_scm/
5151

5252
## TODOs
5353

54-
https://github.com/pypa/gh-action-pypi-publish/discussions/15
54+
https://github.com/pypa/gh-action-pypi-publish/discussions/15
55+
56+
```
57+
git add .
58+
git commit -m sync
59+
git tag -a v0.1.0.dev0
60+
python -m setuptools_scm
61+
git push --follow-tags
62+
```

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ license = {file = "LICENSE.txt"}
1313
[tool.scikit-build]
1414
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
1515
cmake.source-dir = "resources/EnergyPlus"
16+
wheel.py-api = "cp38"
1617
wheel.packages = ["packages/energyplus_core"]
1718
wheel.install-dir = "energyplus_core/lib"
1819

@@ -29,3 +30,14 @@ test = ["pytest"]
2930
[tool.pytest.ini_options]
3031
minversion = "6.0"
3132
testpaths = ["./tests"]
33+
34+
[tool.tox]
35+
legacy_tox_ini = """
36+
[tox]
37+
envlist = py38,py39,py310,py311
38+
39+
[testenv]
40+
deps =
41+
pytest
42+
commands = pytest
43+
"""

0 commit comments

Comments
 (0)