File: win-test.bat

package info (click to toggle)
taurus 4.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 99,944 kB
  • sloc: python: 52,365; sh: 21; makefile: 12
file content (37 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download
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
:: Install numpy
pip install --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ --upgrade numpy

:: Install Qt binding
:: Install PyQt4 from www.silx.org and PyQt5/PySide from pypi
pip install --pre --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ %QT_BINDINGS%

:: Install lxml
pip install --pre --trusted-host www.silx.org --find-links http://www.silx.org/pub/wheelhouse/ lxml==3.7.0

:: Install pint
pip install pint

:: Install enum34
pip install enum34

:: Install enum34
pip install future

:: Install guiqwt 
:: TODO, install guiqwt from pypi
:: pip install --upgrade guiqwt

:: Install the generated taurus wheel package to test it
:: Make sure it does not come from cache or pypi
:: At this point all install_requires dependencies MUST be installed
:: as this is installing only from dist/
pip install --pre --find-links dist/ --no-cache-dir --no-index taurus

:: Print Python info
pip list

:: launch tests (for now only a trivial import, since the testsuite
:: would fail due to missing tango and epics)
python -c "import taurus"
:: TODO: run testsuite
::taurustestsuite