ESS_GUIESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_openclESS_GUI_sync_sascalc
Last change
on this file since 56dd23c was
8e76e49,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 6 years ago
|
Reverting the change of yaml file specs.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | # Set up correct shell |
---|
2 | #!/bin/bash |
---|
3 | |
---|
4 | ## Set up path for py36 - conda |
---|
5 | export PATH=/home/sasview/anaconda3/bin:$PATH |
---|
6 | export QT_QPA_PLATFORM=offscreen |
---|
7 | |
---|
8 | # Set proxy |
---|
9 | export http_proxy=http://192.168.1.1:8123 |
---|
10 | export https_proxy=http://192.168.1.1:8123 |
---|
11 | |
---|
12 | # List conda envs already on system |
---|
13 | conda env list |
---|
14 | |
---|
15 | # Make new env from git yml file |
---|
16 | cd $WORKSPACE |
---|
17 | cd sasview |
---|
18 | cd build_tools |
---|
19 | conda env create --force -f conda_qt5_min_ubuntu.yml |
---|
20 | # conda env create --force -f conda_qt5_ubuntu.yml |
---|
21 | conda env list |
---|
22 | |
---|
23 | # Activate new env |
---|
24 | source activate qt5_ubuntu |
---|
25 | conda list |
---|
26 | conda env list |
---|
27 | |
---|
28 | # Now build Sasview |
---|
29 | |
---|
30 | # Sasmodels |
---|
31 | cd $WORKSPACE |
---|
32 | cd sasmodels |
---|
33 | python setup.py build |
---|
34 | |
---|
35 | cd $WORKSPACE |
---|
36 | cd sasmodels |
---|
37 | cd doc |
---|
38 | make html |
---|
39 | |
---|
40 | cd $WORKSPACE |
---|
41 | cd sasmodels |
---|
42 | python setup.py build install |
---|
43 | |
---|
44 | |
---|
45 | # SasView |
---|
46 | cd $WORKSPACE |
---|
47 | cd sasview |
---|
48 | python src/sas/qtgui/convertUI.py |
---|
49 | python setup.py build docs install |
---|
50 | |
---|
51 | # Pyinstaller |
---|
52 | cd $WORKSPACE |
---|
53 | cd sasview |
---|
54 | cd installers |
---|
55 | pyinstaller sasview_qt5_min_centos.spec |
---|
56 | |
---|
57 | cd $WORKSPACE |
---|
58 | cd sasview |
---|
59 | cd installers |
---|
60 | cp run_sasview.sh dist/sasview |
---|
61 | cp set_sasview_qt5_path.sh dist/sasview |
---|
62 | cd dist |
---|
63 | mv sasview SasView |
---|
64 | tar czvf SasView.tar.gz SasView |
---|
65 | |
---|
Note: See
TracBrowser
for help on using the repository browser.