forked from swift-nav/piksi_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
75 lines (58 loc) · 2.03 KB
/
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
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
[tox]
envlist = py27
[testenv]
deps = -r{toxinidir}/requirements.txt
commands = py.test -v tests/
sitepackages = False
usedevelop = True
[testenv:flake8]
deps = flake8
commands = flake8 piksi_tools
[testenv:pyinstaller-linux]
basepython = python2.7
# since we want _version.py to be generated by setuptools_scm
usedevelop = True
deps = -rrequirements.txt
pyinstaller==3.2.1
pyside==1.2.4
commands =
# hack since enable is not packaged correctly
pip install -r requirements_gui.txt
# since older pyserial has issues on ubuntu 16.04
pip install pyserial==3.4
pyinstaller -y misc/console.spec
[testenv:pyinstaller-win]
basepython = python2.7
# since we want _version.py to be generated by setuptools_scm
usedevelop = True
deps = -rrequirements.txt
pyinstaller==3.2.1
pyside==1.2.4
commands =
# hack since enable is not packaged correctly
pip install -r requirements_gui.txt
pyinstaller -y misc/console.spec
[testenv:pyinstaller-macos]
basepython = python2.7
# since we want _version.py to be generated by setuptools_scm
usedevelop = True
deps = -rrequirements.txt
pyinstaller==3.2.1
pyside==1.2.2
commands =
python misc/hacks/pyside_postinstall.py -install
# hack since enable is not packaged correctly
pip install -r requirements_gui.txt
pyinstaller -y misc/console.spec
[testenv:pyinstaller_cmdline_tools]
basepython = python2.7
# since we want _version.py to be generated by setuptools_scm
usedevelop = True
deps = -rrequirements.txt
pyinstaller==3.2.1
commands =
pyinstaller --onefile --distpath ./dist/cmd_line piksi_tools/serial_link.py
pyinstaller --onefile --distpath ./dist/cmd_line piksi_tools/settings.py
pyinstaller --onefile --distpath ./dist/cmd_line piksi_tools/fileio.py
pyinstaller --onefile --distpath ./dist/cmd_line piksi_tools/bootload_v3.py
pyinstaller --onefile --distpath ./dist/cmd_line piksi_tools/interpolate_event_positions.py