Skip to content

Commit

Permalink
Update setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mizaki authored Sep 18, 2024
1 parent 10caf67 commit 13762f0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,28 @@ dev =
setuptools>=42
setuptools-scm[toml]>=3.4
wheel

[tox:tox]
envlist = py3.9

[testenv]
deps = -requirements-dev.txt
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report

[testenv:wheel]
description = Generate wheel and tar.gz
labels =
release
build
skip_install = true
deps =
build
commands_pre =
-python -c 'import shutil,pathlib; \
shutil.rmtree("./build/", ignore_errors=True); \
shutil.rmtree("./dist/", ignore_errors=True)'
commands =
python -m build

0 comments on commit 13762f0

Please sign in to comment.