forked from ColinDuquesnoy/QDarkStyleSheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
81 lines (60 loc) · 1.82 KB
/
tox.ini
File metadata and controls
81 lines (60 loc) · 1.82 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[tox]
envlist =
#{win,lin,mac}-{py34}-{pyqt,pyside}
{win,lin,mac}-{py36}-{pyqt5,pyside2}
{win,lin,mac}-{py36}-{doc}
{win,lin,mac}-{py37}-{pyqt5,pyside2}
{win,lin,mac}-{py37}-{doc}
skip_missing_interpreters =
true
[testenv]
platform =
# platforms to run
win: windows
lin: linux
mac: osx
deps =
# to make sure it has
setuptools
pip
wheel
virtualenv
watchdog
qtpy
qtsass
# basic dependencies for each env
pyqt: pyqt
pyqt5: pyqt5
pyside: pyside
pyside2: pyside2
# Dependencies for each environment
doc: -rreq-doc.txt
doc: pyqt5
doc: pyside2
whitelist_externals =
# non python dependencies
qmake
doc: make
doc: latexpdf
changedir=
doc: docs
commands =
!doc: pip install .
!doc: python -m qdarkstyle --all
pyqt: python example/example.py --qt_from=pyqt --test
pyqt: python example/example.py --qt_from=pyqt --test --no_dark
pyqt5: python example/example.py --qt_from=pyqt5 --test
pyqt5: python example/example.py --qt_from=pyqt5 --test --no_dark
pyside: python example/example.py --qt_from=pyside --test
pyside: python example/example.py --qt_from=pyside --test --no_dark
pyside2: python example/example.py --qt_from=pyside2 --test
pyside2: python example/example.py --qt_from=pyside2 --test --no_dark
doc: sphinx-apidoc --private --separate --force --module-first -o "example" "../example" "../example/ui/*"
doc: sphinx-apidoc --private --separate --force --module-first -o "reference" "../qdarkstyle"
doc: sphinx-apidoc --private --separate --force --module-first -o "scripts" "../scripts"
doc: python "../example/example.py" --screenshot
doc: python "../example/example.py" --screenshot --no_dark
doc: sphinx-build -b html -j auto -E -d "{toxworkdir}/../build/docs/doctrees" . "{toxworkdir}/../build/docs/html"
pip list
usedevelop =
develop: true