Skip to content

Commit

Permalink
chore: Add Tox build job for packaging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Nov 25, 2020
1 parent cb40410 commit 2e2e3e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120
target_version = ["py37"]
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ depends = {py35,py36,py37,py38,py39,pypy3}
commands =
coverage combine
coverage report

[testenv:build]
deps = pep517
commands = python -m pep517.build --source . --binary --out-dir dist/

0 comments on commit 2e2e3e3

Please sign in to comment.