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 7235c57 was
52b7fd9,
checked in by wojciech, 9 years ago
|
PYTHONPATH modified in jenkins osx script, so proper version of six is bundeled
|
-
Property mode set to
100755
|
File size:
1.4 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 PYTHONPATH=$PYTHONPATH:/Library/Python/2.7/site-packages |
---|
10 | |
---|
11 | export LC_ALL=en_US.UTF-8 |
---|
12 | export LANG=en_US.UTF-8 |
---|
13 | |
---|
14 | |
---|
15 | cd $WORKSPACE |
---|
16 | |
---|
17 | # SASMODLES |
---|
18 | cd $WORKSPACE |
---|
19 | cd sasmodels |
---|
20 | |
---|
21 | rm -rf build |
---|
22 | rm -rf dist |
---|
23 | |
---|
24 | $PYTHON setup.py clean |
---|
25 | $PYTHON setup.py build |
---|
26 | |
---|
27 | |
---|
28 | # SASMODLES - BUILD DOCS |
---|
29 | cd doc |
---|
30 | make html |
---|
31 | |
---|
32 | cd $WORKSPACE |
---|
33 | cd sasmodels |
---|
34 | $PYTHON setup.py bdist_egg |
---|
35 | |
---|
36 | |
---|
37 | # SASVIEW |
---|
38 | cd $WORKSPACE |
---|
39 | cd sasview |
---|
40 | rm -rf sasview-install |
---|
41 | mkdir sasview-install |
---|
42 | rm -rf utils |
---|
43 | mkdir utils |
---|
44 | rm -rf dist |
---|
45 | rm -rf build |
---|
46 | |
---|
47 | |
---|
48 | # INSTALL SASMODELS |
---|
49 | cd $WORKSPACE |
---|
50 | cd sasmodels |
---|
51 | cd dist |
---|
52 | $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg |
---|
53 | |
---|
54 | |
---|
55 | # BUILD SASVIEW |
---|
56 | cd $WORKSPACE |
---|
57 | cd sasview |
---|
58 | $PYTHON setup.py clean |
---|
59 | $PYTHON setup.py build docs bdist_egg |
---|
60 | |
---|
61 | |
---|
62 | # INSTALL SASVIEW |
---|
63 | cd $WORKSPACE |
---|
64 | cd sasview |
---|
65 | cd dist |
---|
66 | $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg |
---|
67 | |
---|
68 | |
---|
69 | # TEST |
---|
70 | cd $WORKSPACE |
---|
71 | cd sasview |
---|
72 | cd test |
---|
73 | $PYTHON utest_sasview.py |
---|
74 | |
---|
75 | # PYLINT |
---|
76 | cd $WORKSPACE |
---|
77 | cd sasview |
---|
78 | $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt |
---|
79 | |
---|
80 | # BUILD APP |
---|
81 | cd $WORKSPACE |
---|
82 | cd sasview/sasview |
---|
83 | $PYTHON setup_mac.py py2app |
---|
84 | |
---|
Note: See
TracBrowser
for help on using the repository browser.