ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 3371d81 was
aff7904,
checked in by wojciech, 9 years ago
|
Conflicts fixed, merged with master
|
-
Property mode set to
100755
|
File size:
1.3 KB
|
Line | |
---|
1 | export PATH=$PATH:/usr/local/bin/ |
---|
2 | |
---|
3 | PYTHON=${PYTHON:-`which python`} |
---|
4 | EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} |
---|
5 | PYLINT=${PYLINT:-`which pylint`} |
---|
6 | |
---|
7 | export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils |
---|
8 | export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install |
---|
9 | export LC_ALL=en_US.UTF-8 |
---|
10 | export LANG=en_US.UTF-8 |
---|
11 | |
---|
12 | |
---|
13 | cd $WORKSPACE |
---|
14 | |
---|
15 | # SASMODLES |
---|
16 | cd $WORKSPACE |
---|
17 | cd sasmodels |
---|
18 | |
---|
19 | rm -rf build |
---|
20 | rm -rf dist |
---|
21 | |
---|
22 | $PYTHON setup.py clean |
---|
23 | $PYTHON setup.py build |
---|
24 | |
---|
25 | |
---|
26 | # SASMODLES - BUILD DOCS |
---|
27 | cd doc |
---|
28 | make html |
---|
29 | |
---|
30 | cd $WORKSPACE |
---|
31 | cd sasmodels |
---|
32 | $PYTHON setup.py bdist_egg |
---|
33 | |
---|
34 | |
---|
35 | # SASVIEW |
---|
36 | cd $WORKSPACE |
---|
37 | cd sasview |
---|
38 | rm -rf sasview-install |
---|
39 | mkdir sasview-install |
---|
40 | rm -rf utils |
---|
41 | mkdir utils |
---|
42 | rm -rf dist |
---|
43 | rm -rf build |
---|
44 | |
---|
45 | |
---|
46 | # INSTALL SASMODELS |
---|
47 | cd $WORKSPACE |
---|
48 | cd sasmodels |
---|
49 | cd dist |
---|
50 | $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg |
---|
51 | |
---|
52 | |
---|
53 | # BUILD SASVIEW |
---|
54 | cd $WORKSPACE |
---|
55 | cd sasview |
---|
56 | $PYTHON setup.py clean |
---|
57 | $PYTHON setup.py build docs bdist_egg |
---|
58 | |
---|
59 | |
---|
60 | # INSTALL SASVIEW |
---|
61 | cd $WORKSPACE |
---|
62 | cd sasview |
---|
63 | cd dist |
---|
64 | $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg |
---|
65 | |
---|
66 | |
---|
67 | # TEST |
---|
68 | #cd $WORKSPACE |
---|
69 | #cd sasview |
---|
70 | #cd test |
---|
71 | #$PYTHON utest_sasview.py |
---|
72 | |
---|
73 | # PYLINT |
---|
74 | cd $WORKSPACE |
---|
75 | cd sasview |
---|
76 | $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt |
---|
77 | |
---|
78 | # BUILD APP |
---|
79 | cd $WORKSPACE |
---|
80 | cd sasview/sasview |
---|
81 | $PYTHON setup_mac.py py2app |
---|
82 | |
---|
Note: See
TracBrowser
for help on using the repository browser.