Skip to content

Instantly share code, notes, and snippets.

@psychemedia
Created March 2, 2020 10:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psychemedia/c72d39cc3b26d58a7d4cf7198b74a3d2 to your computer and use it in GitHub Desktop.
Save psychemedia/c72d39cc3b26d58a7d4cf7198b74a3d2 to your computer and use it in GitHub Desktop.
Initial test file for starting to look at binder config merge
mkdir -p binder binder_1 binder_2
cat > binder_1/requirements.txt << EOF
pandas
scipy
EOF
cat > binder_2/requirements.txt << EOF
ipython-sql
pandas
EOF
cat > binder_1/postBuild << EOF
# Do some stuff
# Whatever
EOF
cat > binder_2/postBuild << EOF
# Do some more stuff
# More whatever
EOF
cat > binder_1/environment.yml << EOF
channels:
- conda-forge
- bioconda
dependencies:
- python=3.6
- pandas
- pip
- pip:
- seaborn
- ipython-sql
EOF
cat > binder_2/environment.yaml << EOF
channels:
- conda-forge
- defaults
dependencies:
- python=3.7
- cython
- ipython
- astropy
- pip
- pip:
- graphviz
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment