forked from ctypesgen/ctypesgen
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (34 loc) · 707 Bytes
/
tox.ini
File metadata and controls
38 lines (34 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
envlist = py27, py37, py38
skip_missing_interpreters = true
[testenv]
deps =
pytest
commands =
# pytest -v --showlocals ctypesgen/test/testsuite.py
pytest -v -x --showlocals ctypesgen/test/testsuite.py
[testenv:black]
deps =
six
black==19.3b0
basepython = python3.7
commands =
black --check --line-length 100 setup.py run.py ctypesgen/ --exclude '.*tab.py'
[testenv:package]
deps =
six
twine
wheel
basepython = python3.7
commands =
python setup.py bdist_wheel --universal
twine check dist/*.whl
[testenv:upload]
deps =
six
twine
wheel
basepython = python3.7
commands =
python setup.py bdist_wheel --universal
twine upload dist/*.whl