1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-17 07:40:09 -07:00

Use built-in tox support for PEP 518

We don't need to manually invoke `flit`; with `isolated_build`, tox
supports non-setuptools builds out of the box.
This commit is contained in:
Adrian Sampson 2019-06-30 10:25:34 -04:00
parent 0fefd70c77
commit 0c4600280f

View File

@ -1,15 +1,12 @@
[tox] [tox]
envlist = py34,py35,py36,py37 envlist = py34,py35,py36,py37
skipsdist = True isolated_build = True
[testenv] [testenv]
setenv = setenv =
PYTHON_EGG_CACHE = {toxworkdir}/egg-cache PYTHON_EGG_CACHE = {toxworkdir}/egg-cache
PYTHONHASHSEED = 0 PYTHONHASHSEED = 0
deps =
flit
commands = commands =
flit install
coverage run python -m unittest -s tests coverage run python -m unittest -s tests
coverage report coverage report
py37: flake8 py37: flake8