Skip to content

Commit fc067ea

Browse files
fix dev environment name
1 parent 759c961 commit fc067ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CONDA_ENV != conda info --base
99
CONDA_ACTIVATE := source $(CONDA_ENV)/etc/profile.d/conda.sh ; \
1010
conda activate ; conda activate
1111
CONDA_ENV_DIR := $(foreach i,$(REQ),$(CONDA_ENV)/envs/$(i))
12-
KERNEL_DIR != $(CONDA_ACTIVATE) eo-datascience; jupyter --data-dir
12+
KERNEL_DIR != $(CONDA_ACTIVATE) eo-datascience-cookbook-dev; jupyter --data-dir
1313
KERNEL_DIR := $(foreach i,$(REQ),$(KERNEL_DIR)/kernels/$(i))
1414

1515
help:
@@ -24,7 +24,7 @@ help:
2424
temporary files"
2525
@echo " make help - Display this help message"
2626

27-
$(CONDA_ENV)/envs/eo-datascience:
27+
$(CONDA_ENV)/envs/eo-datascience-cookbook-dev:
2828
- conda update -n base -c conda-forge conda -y
2929
conda env create --file environment.yml
3030

@@ -40,7 +40,7 @@ $(KERNEL_DIR):
4040
python -m ipykernel install --user --name $(f) --display-name $(f); \
4141
conda deactivate; )
4242

43-
kernel: $(CONDA_ENV)/envs/eo-datascience $(CONDA_ENV_DIR) $(KERNEL_DIR)
43+
kernel: $(CONDA_ENV)/envs/eo-datascience-cookbook-dev $(CONDA_ENV_DIR) $(KERNEL_DIR)
4444
@echo -e "jupyter kernels are ready."
4545

4646
clean:
@@ -49,7 +49,7 @@ clean:
4949
**/**/.jupyter_cache **/**/**/.jupyter_cache
5050

5151
teardown:
52-
conda remove -n eo-datascience --all -y
52+
conda remove -n eo-datascience-cookbook-dev --all -y
5353
$(foreach f, $(REQ), \
5454
$(CONDA_ACTIVATE) $(f); \
5555
jupyter kernelspec uninstall -y $(f); \

0 commit comments

Comments
 (0)