source: sasview/build_tools/jenkins_linux_build.sh @ 7235c57

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 bf3ca1e, checked in by trnielsen, 9 years ago

Update linux build scripts. Pylint does not work.

  • Property mode set to 100755
File size: 1.2 KB
Line 
1export PATH=$PATH:/usr/local/bin/
2
3PYTHON=${PYTHON:-`which python`}
4EASY_INSTALL=${EASY_INSTALL:-`which easy_install`}
5PYLINT=${PYLINT:-`which pylint`}
6
7export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils
8export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install
9
10
11cd $WORKSPACE
12
13# SASMODLES
14cd $WORKSPACE
15cd sasmodels
16
17rm -rf build
18rm -rf dist
19
20$PYTHON setup.py clean
21$PYTHON setup.py build
22
23
24# SASMODLES - BUILD DOCS
25cd  doc
26make html
27
28cd $WORKSPACE
29cd sasmodels
30$PYTHON setup.py bdist_egg
31
32
33# SASVIEW
34cd $WORKSPACE
35cd sasview
36rm -rf sasview-install
37mkdir  sasview-install
38rm -rf utils
39mkdir  utils
40rm -rf dist
41rm -rf build
42
43
44# INSTALL SASMODELS
45cd $WORKSPACE
46cd sasmodels
47cd dist
48$EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg
49
50
51# BUILD SASVIEW
52cd $WORKSPACE
53cd sasview
54$PYTHON setup.py clean
55$PYTHON setup.py build docs bdist_egg
56
57
58# INSTALL SASVIEW
59cd $WORKSPACE
60cd sasview
61cd dist
62$EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg
63
64
65# TEST
66cd $WORKSPACE
67cd sasview
68cd 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.