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 ae308a4 was
bf3ca1e,
checked in by trnielsen, 8 years ago
|
Update linux build scripts. Pylint does not work.
|
-
Property mode set to
100755
|
File size:
1.2 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 | |
---|
10 | |
---|
11 | cd $WORKSPACE |
---|
12 | |
---|
13 | # SASMODLES |
---|
14 | cd $WORKSPACE |
---|
15 | cd sasmodels |
---|
16 | |
---|
17 | rm -rf build |
---|
18 | rm -rf dist |
---|
19 | |
---|
20 | $PYTHON setup.py clean |
---|
21 | $PYTHON setup.py build |
---|
22 | |
---|
23 | |
---|
24 | # SASMODLES - BUILD DOCS |
---|
25 | cd doc |
---|
26 | make html |
---|
27 | |
---|
28 | cd $WORKSPACE |
---|
29 | cd sasmodels |
---|
30 | $PYTHON setup.py bdist_egg |
---|
31 | |
---|
32 | |
---|
33 | # SASVIEW |
---|
34 | cd $WORKSPACE |
---|
35 | cd sasview |
---|
36 | rm -rf sasview-install |
---|
37 | mkdir sasview-install |
---|
38 | rm -rf utils |
---|
39 | mkdir utils |
---|
40 | rm -rf dist |
---|
41 | rm -rf build |
---|
42 | |
---|
43 | |
---|
44 | # INSTALL SASMODELS |
---|
45 | cd $WORKSPACE |
---|
46 | cd sasmodels |
---|
47 | cd dist |
---|
48 | $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg |
---|
49 | |
---|
50 | |
---|
51 | # BUILD SASVIEW |
---|
52 | cd $WORKSPACE |
---|
53 | cd sasview |
---|
54 | $PYTHON setup.py clean |
---|
55 | $PYTHON setup.py build docs bdist_egg |
---|
56 | |
---|
57 | |
---|
58 | # INSTALL SASVIEW |
---|
59 | cd $WORKSPACE |
---|
60 | cd sasview |
---|
61 | cd dist |
---|
62 | $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg |
---|
63 | |
---|
64 | |
---|
65 | # TEST |
---|
66 | cd $WORKSPACE |
---|
67 | cd sasview |
---|
68 | cd test |
---|
69 | $PYTHON utest_sasview.py |
---|
70 | |
---|
71 | ## PYLINT |
---|
72 | #cd $WORKSPACE |
---|
73 | #cd sasview |
---|
74 | #$PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt |
---|
75 | |
---|
76 | |
---|
Note: See
TracBrowser
for help on using the repository browser.