source: sasview/build_tools/jenkins_osx_build.sh @ 3371d81

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 3371d81 was aff7904, checked in by wojciech, 9 years ago

Conflicts fixed, merged with master

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