build.sh 309 B

123456789101112131415161718
  1. #!/bin/bash
  2. BLD_DIR=`pwd`
  3. # Recipe and source are stored together
  4. SRC_DIR=$RECIPE_DIR/..
  5. pushd $SRC_DIR
  6. # X.X.X.dev builds
  7. u_version=`git describe --tags | $PYTHON $SRC_DIR/conda.recipe/version.py`
  8. echo $u_version > __conda_version__.txt
  9. cp __conda_version__.txt $BLD_DIR
  10. $PYTHON setup.py install
  11. popd