forked from globus/globus-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (28 loc) · 715 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
[tox]
envlist = py{39,38,37,36,27}
skip_missing_interpreters = true
[testenv]
usedevelop = true
extras = development
commands = pytest -v --cov=globus_sdk
[testenv:lint]
deps = pre-commit~=2.9.3
skip_install = true
commands = pre-commit run --all-files
[testenv:docs]
extras = development
whitelist_externals = rm
changedir = docs/
# clean the build dir before rebuilding
commands_pre = rm -rf _build/
commands = sphinx-build . -d _build/doctrees -b dirhtml _build/dirhtml
[testenv:publish-release]
skip_install = true
deps = twine
wheel
# clean the build dir before rebuilding
whitelist_externals = rm
commands_pre = rm -rf dist/
commands =
python setup.py sdist bdist_wheel
twine upload dist/*