#! /bin/bash

base=$PWD

to_build=$(cat build_order.txt)
cd bdist_conda
for d in $to_build
    do
        cd $d
        python setup.py bdist_conda || echo "Failed on $PWD"
        cd ..
    done

cd $base


#! /bin/bash

base=$PWD

to_build=$(cat build_order.txt)
cd bdist_conda
for d in $to_build
    do
        cd $d
        # Try --offline in case astropy-helpers bootstrap conflicts with conda's shutdown of downloads.
        python setup.py bdist_conda || python setup.py bdist_conda --offline || echo "Failed on $PWD"
        cd ..
    done

cd $base


Add --offline build option if bdist_conda build fails initially
Add --offline build option if bdist_conda build fails initially
