papi: Use CMSG_SPACE for sizing ancillary buffer space
[vpp.git] / src / vpp-api / python / tox.ini
1 [tox]
2 envlist = py27,py3{6,7}, pep8
3 minversion = 2.3.1
4 skipsdist = True
5 skip_missing_interpreters = True
6
7 [testenv]
8 usedevelop = True
9 whitelist_externals =
10     find
11 deps =
12     stestr
13     parameterized
14 commands =
15     find . -type f -name "*.pyc" -delete
16     stestr --test-path {toxinidir}/vpp_papi/tests/ run --slowest {posargs}
17
18 [testenv:pep8]
19 basepython = python3
20 deps =
21     flake8
22 commands =
23     flake8  --exclude {toxinidir}/vpp_papi/tests {toxinidir}/vpp_papi {posargs}
24
25 [testenv:pypi]
26 basepython = python3
27 deps =
28     twine
29     wheel
30 passenv =
31     TWINE_USERNAME
32     TWINE_PASSWORD
33     TWINE_REPOSITORY
34     TWINE_REPOSITORY_URL
35     TWINE_CERT
36
37 commands =
38     python setup.py bdist_wheel
39     twine upload  {toxinidir}/dist/*
40