source: sasview/build_tools/jenkins_linux_build.sh @ 751abab

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 751abab was 3ee654e, checked in by Tobias Richter <tobias.richter@…>, 11 years ago

fix bodged variable expansion

  • Property mode set to 100755
File size: 578 bytes
Line 
1#! /bin/sh
2
3# try to find reasonable settings, if not provided in the environment
4PYTHON=${PYTHON:-`which python`}
5EASY_INSTALL=${EASY_INSTALL:-`which easy_install`}
6PYLINT=${PYLINT:-`which pylint`}
7BUILD_TOOLS_DIR=`dirname $0`
8WORKSPACE=${WORKSPACE:-`readlink -f $BUILD_TOOLS_DIR/..`}
9# WORKSPACE top level of source
10
11cd $WORKSPACE
12rm -rf sasview-install
13mkdir sasview-install
14rm -rf dist
15rm -rf build
16
17export PYTHONPATH=$PYTHONPATH:$WORKSPACE/sasview-install:$WORKSPACE/utils
18
19$PYTHON setup.py bdist_egg
20
21cd $WORKSPACE/dist
22$EASY_INSTALL -N -d ../sasview-install sasview*.egg
Note: See TracBrowser for help on using the repository browser.