source: sasview/build_tools/jenkins_osx_build.sh @ ec30905

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.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since ec30905 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 
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 PYTHONPATH=$PYTHONPATH:/Library/Python/2.7/site-packages
10
11export LC_ALL=en_US.UTF-8
12export LANG=en_US.UTF-8
13
14
15cd $WORKSPACE
16
17# SASMODLES
18cd $WORKSPACE
19cd sasmodels
20
21rm -rf build
22rm -rf dist
23
24$PYTHON setup.py clean
25$PYTHON setup.py build
26
27
28# SASMODLES - BUILD DOCS
29cd  doc
30make html
31
32cd $WORKSPACE
33cd sasmodels
34$PYTHON setup.py bdist_egg
35
36
37# SASVIEW
38cd $WORKSPACE
39cd sasview
40rm -rf sasview-install
41mkdir  sasview-install
42rm -rf utils
43mkdir  utils
44rm -rf dist
45rm -rf build
46
47
48# INSTALL SASMODELS
49cd $WORKSPACE
50cd sasmodels
51cd dist
52$EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg
53
54
55# BUILD SASVIEW
56cd $WORKSPACE
57cd sasview
58$PYTHON setup.py clean
59$PYTHON setup.py build docs bdist_egg
60
61
62# INSTALL SASVIEW
63cd $WORKSPACE
64cd sasview
65cd dist
66$EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg
67
68
69# TEST
70cd $WORKSPACE
71cd sasview
72cd test
73$PYTHON utest_sasview.py
74
75# PYLINT
76cd $WORKSPACE
77cd sasview
78$PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee  test/sasview.txt
79
80# BUILD APP
81cd $WORKSPACE
82cd sasview/sasview
83$PYTHON setup_mac.py py2app
84
Note: See TracBrowser for help on using the repository browser.