Skip to content

Commit 8d01e81

Browse files
committed
move build dependencies to pyproject.toml
1 parent 4538ef1 commit 8d01e81

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ dependencies = [
4040
linter = [
4141
"flake8",
4242
]
43+
build = [
44+
"build",
45+
"twine",
46+
"check-python-versions",
47+
]
48+
4349
# https://github.com/pypa/setuptools_scm/
4450
[tool.setuptools_scm]
4551
write_to = "virtualenvwrapper/version.py"

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ commands =
3838
sphinx-build -W -j auto -b linkcheck -d docs/build/doctrees docs/source docs/build/linkcheck
3939

4040
[testenv:pkglint]
41-
deps=
42-
build
43-
twine
44-
check-python-versions
41+
deps=.[build]
4542
commands=
4643
python -m build
4744
twine check dist/*.tar.gz dist/*.whl

0 commit comments

Comments
 (0)