File: win-test.bat

package info (click to toggle)
taurus 4.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 101,200 kB
  • sloc: python: 53,973; makefile: 99; sh: 22
file content (40 lines) | stat: -rw-r--r-- 1,172 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
38
39
40
:: 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 future
pip install future

:: Install click
pip install click

:: 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