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 054a3ad was
b44da61,
checked in by pkienzle, 10 years ago
|
bump bumps required version to 0.7.5.4 so that fits to sld parameters will work
|
-
Property mode set to
100755
|
File size:
756 bytes
|
Rev | Line | |
---|
[280d5c0] | 1 | #! /bin/sh |
---|
| 2 | |
---|
| 3 | # try to find reasonable settings, if not provided in the environment |
---|
| 4 | PYTHON=${PYTHON:-`which python`} |
---|
[e473f6fb] | 5 | EASY_INSTALL=${EASY_INSTALL:-`which easy_install`} |
---|
[280d5c0] | 6 | PYLINT=${PYLINT:-`which pylint`} |
---|
| 7 | BUILD_TOOLS_DIR=`dirname $0` |
---|
| 8 | WORKSPACE=${WORKSPACE:-`readlink -f $BUILD_TOOLS_DIR/..`} |
---|
| 9 | # WORKSPACE top level of source |
---|
| 10 | |
---|
| 11 | cd $WORKSPACE |
---|
| 12 | rm -rf sasview-install |
---|
| 13 | mkdir sasview-install |
---|
| 14 | rm -rf dist |
---|
| 15 | rm -rf build |
---|
| 16 | |
---|
[b44da61] | 17 | "$EASY_INSTALL" -d "$WORKSPACE/utils" bumps==0.7.5.4 |
---|
[9939b16] | 18 | "$EASY_INSTALL" -d "$WORKSPACE/utils" periodictable==1.3.0 |
---|
| 19 | |
---|
| 20 | export PYTHONPATH=$WORKSPACE/sasview-install:$WORKSPACE/utils:$PYTHONPATH |
---|
[280d5c0] | 21 | |
---|
[9f15df4] | 22 | $PYTHON check_packages.py |
---|
[280d5c0] | 23 | $PYTHON setup.py bdist_egg |
---|
| 24 | |
---|
| 25 | cd $WORKSPACE/dist |
---|
[57986a1] | 26 | ln -s sasview*.egg sasview.egg || true |
---|
| 27 | $EASY_INSTALL -N -d ../sasview-install sasview.egg |
---|
| 28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.