Created
August 31, 2020 15:24
-
-
Save lewtun/5cebd98688f3e1522efa1fdeca3e8414 to your computer and use it in GitHub Desktop.
Anaconda with make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: install | |
################################################################################# | |
# GLOBALS # | |
################################################################################# | |
SHELL=/bin/bash | |
CONDA_ACTIVATE=source $$(conda info --base)/etc/profile.d/conda.sh ; conda activate ; conda activate | |
################################################################################# | |
# COMMANDS # | |
################################################################################# | |
install: | |
conda env create -f environment.yml | |
@echo "# Installing JupyterLab extensions ..." | |
($(CONDA_ACTIVATE) my-awesome-env ; jupyter labextension install @jupyter-widgets/jupyterlab-manager) | |
@echo "# Installation complete!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment