Rev | Line | |
---|
[4710] | 1 | #!/bin/bash |
---|
| 2 | echo '==================== running build.sh ====================' |
---|
| 3 | #echo '==================== env ====================' |
---|
| 4 | #env |
---|
| 5 | #echo '==================== which python ====================' |
---|
| 6 | #which python |
---|
| 7 | #python -c 'import sys; print(sys.version); import numpy; print(numpy.__version__)' |
---|
| 8 | mkdir -p $PREFIX/GSASII |
---|
| 9 | cp $RECIPE_DIR/src/bootstrap.py $PREFIX/GSASII |
---|
[5421] | 10 | if [[ $OSTYPE == 'darwin'* ]]; then |
---|
| 11 | echo 'macOS: creating svn directory' |
---|
| 12 | svn export https://subversion.xray.aps.anl.gov/pyGSAS/install/svn/homebrew_MacOS $PREFIX/SVN > $PREFIX/GSASII/conda_G2build_out.log 2>&1 |
---|
| 13 | fi |
---|
| 14 | python $PREFIX/GSASII/bootstrap.py --binary=**npversion**,**pyversion** >> $PREFIX/GSASII/conda_G2build_out.log 2>&1 |
---|
Note: See
TracBrowser
for help on using the repository browser.