source: sasview/build_tools/jenkins_osx_build.sh @ 9528caa

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 9528caa 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
RevLine 
[8a2e317]1export PATH=$PATH:/usr/local/bin/
2
[1780d8b]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
[52b7fd9]9export PYTHONPATH=$PYTHONPATH:/Library/Python/2.7/site-packages
10
[1780d8b]11export LC_ALL=en_US.UTF-8
12export LANG=en_US.UTF-8
13
14
15cd $WORKSPACE
16
17# SASMODLES
[8a2e317]18cd $WORKSPACE
[1780d8b]19cd sasmodels
[8a2e317]20
[1780d8b]21rm -rf build
22rm -rf dist
[8a2e317]23
[1780d8b]24$PYTHON setup.py clean
25$PYTHON setup.py build
26
27
28# SASMODLES - BUILD DOCS
29cd  doc
30make html
[8a2e317]31
32cd $WORKSPACE
[1780d8b]33cd sasmodels
34$PYTHON setup.py bdist_egg
[8a2e317]35
36
[1780d8b]37# SASVIEW
[8a2e317]38cd $WORKSPACE
[1780d8b]39cd sasview
40rm -rf sasview-install
41mkdir  sasview-install
42rm -rf utils
43mkdir  utils
44rm -rf dist
45rm -rf build
[8a2e317]46
47
[1780d8b]48# INSTALL SASMODELS
[8a2e317]49cd $WORKSPACE
[1780d8b]50cd sasmodels
51cd dist
52$EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg
[8a2e317]53
54
[1780d8b]55# BUILD SASVIEW
[8a2e317]56cd $WORKSPACE
[1780d8b]57cd sasview
58$PYTHON setup.py clean
[873e630]59$PYTHON setup.py build docs bdist_egg
[8a2e317]60
61
[259aaa0]62# INSTALL SASVIEW
[8a2e317]63cd $WORKSPACE
[1780d8b]64cd sasview
65cd dist
66$EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg
[8a2e317]67
[259aaa0]68
[1780d8b]69# TEST
[c5d1c37]70cd $WORKSPACE
71cd sasview
72cd test
73$PYTHON utest_sasview.py
[8a2e317]74
[1780d8b]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
[8a2e317]79
80# BUILD APP
[1780d8b]81cd $WORKSPACE
82cd sasview/sasview
[aff7904]83$PYTHON setup_mac.py py2app
[8a2e317]84
Note: See TracBrowser for help on using the repository browser.