forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (40 loc) · 880 Bytes
/
tox.ini
File metadata and controls
42 lines (40 loc) · 880 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
39
40
41
42
[tox]
skipsdist=True
skip_missing_interpreters=True
envlist =
py27
py33
py34
py35
py36
check
[testenv]
recreate=True
basepython =
py27: {env:TOXPYTHON:python2.7}
py33: {env:TOXPYTHON:python3.3}
py34: {env:TOXPYTHON:python3.4}
py35: {env:TOXPYTHON:python3.5}
py36: {env:TOXPYTHON:python3.6}
check: python3.5
setenv =
PYTHONUNBUFFERED=True
DISTUTILS_DEBUG=
passenv =
*
commands =
python --version
python -c "import struct; print('ARCH: %d' % (struct.calcsize('P') * 8))"
python -c "import ctypes; print('UCS%d' % ctypes.sizeof(ctypes.c_wchar))"
python setup.py bdist_wheel
pip install --no-index --find-links=dist/ pythonnet
{posargs:python src\tests\runtests.py}
[testenv:check]
ignore_errors=True
deps =
check-manifest
flake8
commands =
check-manifest {toxinidir}
flake8 src setup.py
python setup.py check --strict --metadata