Skip to content

Commit

Permalink
tox env to build a source distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
arenevier committed Jun 30, 2024
1 parent 71246ac commit 1d7ddd7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py{310,311},pillow{8.x,9.x},flake8
envlist=py{310,311},pillow{8.x,9.x},flake8,sdist

[testenv]
usedevelop = True
Expand All @@ -16,6 +16,11 @@ passenv =
commands =
pytest

[testenv:sdist]
deps = Build a source distribution
deps = build
commands = python -m build --sdist

[testenv:flake8]
description =
Run style checks.
Expand Down

0 comments on commit 1d7ddd7

Please sign in to comment.