source:
sasview/build_tools/jenkins_qt5_centos.sh
@
12dfce6
Last change on this file since 12dfce6 was 4453043, checked in by trnielsen, 6 years ago | |
---|---|
|
|
File size: 791 bytes |
Line | |
---|---|
1 | # Activate new env |
2 | cd $WORKSPACE |
3 | cd sasview |
4 | cd build_tools |
5 | |
6 | conda_env_name="$(grep 'name: ' conda_qt5_min_centos.yml)" |
7 | echo $conda_env_name |
8 | conda_env_name=${conda_env_name:6} |
9 | echo $conda_env_name |
10 | |
11 | source activate $conda_env_name |
12 | |
13 | |
14 | # Now build Sasview |
15 | |
16 | # Sasmodels |
17 | cd $WORKSPACE |
18 | cd sasmodels |
19 | python setup.py build |
20 | |
21 | cd $WORKSPACE |
22 | cd sasmodels |
23 | cd doc |
24 | make html |
25 | |
26 | cd $WORKSPACE |
27 | cd sasmodels |
28 | python setup.py build install |
29 | |
30 | |
31 | # SasView |
32 | cd $WORKSPACE |
33 | cd sasview |
34 | python src/sas/qtgui/convertUI.py |
35 | python setup.py build docs install |
36 | |
37 | |
38 | # Pyinstaller |
39 | cd $WORKSPACE |
40 | cd sasview |
41 | cd installers |
42 | pyinstaller sasview_qt5_min_centos.spec |
43 | |
44 | cd $WORKSPACE |
45 | cd sasview |
46 | cd installers |
47 | cp run_sasview.sh dist/sasview |
48 | cp set_sasview_qt5_path.sh dist/sasview |
49 | cd dist |
50 | mv sasview SasView |
51 | tar czvf SasView.tar.gz SasView |
52 |
Note: See TracBrowser
for help on using the repository browser.