source: sasview/build_tools/jenkins_osx_build.sh @ aff7904

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 aff7904 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 
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
9export LC_ALL=en_US.UTF-8
10export LANG=en_US.UTF-8
11
12
13cd $WORKSPACE
14
15# SASMODLES
16cd $WORKSPACE
17cd sasmodels
18
19rm -rf build
20rm -rf dist
21
22$PYTHON setup.py clean
23$PYTHON setup.py build
24
25
26# SASMODLES - BUILD DOCS
27cd  doc
28make html
29
30cd $WORKSPACE
31cd sasmodels
32$PYTHON setup.py bdist_egg
33
34
35# SASVIEW
36cd $WORKSPACE
37cd sasview
38rm -rf sasview-install
39mkdir  sasview-install
40rm -rf utils
41mkdir  utils
42rm -rf dist
43rm -rf build
44
45
46# INSTALL SASMODELS
47cd $WORKSPACE
48cd sasmodels
49cd dist
50$EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg
51
52
53# BUILD SASVIEW
54cd $WORKSPACE
55cd sasview
56$PYTHON setup.py clean
57$PYTHON setup.py build docs bdist_egg
58
59
60# INSTALL SASVIEW
61cd $WORKSPACE
62cd sasview
63cd 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
74cd $WORKSPACE
75cd sasview
76$PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee  test/sasview.txt
77
78# BUILD APP
79cd $WORKSPACE
80cd sasview/sasview
81$PYTHON setup_mac.py py2app
82
Note: See TracBrowser for help on using the repository browser.