forked from ping13/heospy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (43 loc) · 994 Bytes
/
tox.ini
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
43
44
45
46
[tox]
minversion = 3.2.1
envlist = py27,py37,py36,py35,py34
skip_missing_interpreters = true
# workaround for https://github.com/tox-dev/tox/issues/149
require =
tox-pip-extensions
tox_pip_extensions_ext_venv_update = true
[testenv]
usedevelop = True
# avoid using deps= due to https://github.com/tox-dev/tox/issues/149
# hide deps from stdout https://github.com/tox-dev/tox/issues/601
list_dependencies_command=echo
deps =
-rrequirements.txt
-rrequirements-dev.txt
sitepackages=False
commands=
bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf'
python -m pip check
setenv =
PIP_LOG={envdir}/pip.log
passenv =
PIP_*
TRAVIS
TRAVIS_*
XDG_CACHE_HOME
envars =
PIP_DISABLE_PIP_VERSION_CHECK=1
PIP_USER=no
whitelist_externals =
bash
echo
find
grep
rm
xargs
[testenv:upload]
commands=
rm -rf dist/
python setup.py sdist bdist_wheel
python -m twine check dist/*
python -m twine upload dist/*