Changeset 1780d8b in sasview for build_tools
- Timestamp:
- Apr 8, 2016 3:44:36 AM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 7b15990, fa4ea80, 70be725
- Parents:
- dcdca68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_osx_build.sh
re9e3e38 r1780d8b 1 1 export PATH=$PATH:/usr/local/bin/ 2 3 4 PYTHON=${PYTHON:-`which python`} 5 EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} 6 PYLINT=${PYLINT:-`which pylint`} 7 8 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/utils 9 export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview/sasview-install 10 export LC_ALL=en_US.UTF-8 11 export LANG=en_US.UTF-8 12 2 13 3 14 cd $WORKSPACE 4 15 5 export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH 16 # SASMODLES 17 cd $WORKSPACE 18 cd sasmodels 6 19 7 ########################################################################## 8 # Use git/svn scripts 20 rm -rf build 21 rm -rf dist 9 22 10 # Check dependencies 11 cd $WORKSPACE 12 if [ ! -d "utils" ]; then 13 mkdir utils 14 fi 23 $PYTHON setup.py clean 24 $PYTHON setup.py build 15 25 16 26 17 # BUILD_CODE 27 # SASMODLES - BUILD DOCS 28 cd doc 29 make html 30 18 31 cd $WORKSPACE 19 /bin/sh -xe build_tools/jenkins_linux_build.sh 32 cd sasmodels 33 $PYTHON setup.py bdist_egg 20 34 21 35 22 # TEST_CODE36 # SASVIEW 23 37 cd $WORKSPACE 24 /bin/sh -xe build_tools/jenkins_linux_test.sh 38 cd sasview 39 rm -rf sasview-install 40 mkdir sasview-install 41 rm -rf utils 42 mkdir utils 43 rm -rf dist 44 rm -rf build 25 45 26 46 27 # BUILD DOCS 28 export LC_ALL=en_US.UTF-8 29 export LANG=en_US.UTF-8 47 # INSTALL SASMODELS 30 48 cd $WORKSPACE 31 python setup.py docs 49 cd sasmodels 50 cd dist 51 $EASY_INSTALL -d $WORKSPACE/sasview/utils sasmodels*.egg 32 52 33 53 34 # BUILD _egg with new docs54 # BUILD SASVIEW 35 55 cd $WORKSPACE 36 python setup.py bdist_egg --skip-build 56 cd sasview 57 $PYTHON setup.py clean 58 $PYTHON setup.py build 59 $PYTHON setup.py docs 37 60 38 61 39 # PYLINT_CODE 40 #cd $WORKSPACE 41 #/bin/sh -xe build_tools/jenkins_linux_pylint.sh 62 # SASVIEW BUILD_egg with new docs 63 cd $WORKSPACE 64 cd sasview 65 python setup.py bdist_egg 66 cd dist 67 $EASY_INSTALL -d $WORKSPACE/sasview/sasview-install sasview*.egg 68 69 # TEST 70 cd $WORKSPACE 71 cd sasview 72 cd test 73 $PYTHON utest_sasview.py 74 75 # PYLINT 76 cd $WORKSPACE 77 cd sasview 78 $PYLINT --rcfile "build_tools/pylint.rc" -f parseable sasview-install/sasview*.egg/sas sasview | tee test/sasview.txt 42 79 43 80 44 81 # BUILD APP 45 cd $WORKSPACE/sasview 82 cd $WORKSPACE 83 cd sasview/sasview 46 84 python setup_mac.py py2app 47 85 48 #cd $WORKSPACE/sasview/dist49 #tar -czf `python -c "import pkg_resources;print '%s.tar.gz SasView-%s.app' % (pkg_resources.get_distribution('sasview').egg_name(),pkg_resources.get_distribution('sasview').version)"`
Note: See TracChangeset
for help on using the changeset viewer.