-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (21 loc) · 869 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
init:
pip install --upgrade pip-tools pip setuptools
pip install --editable .
pip install --upgrade -r requirements/main.txt -r requirements/dev.txt
update-deps:
pip install --upgrade pip-tools pip setuptools
pip-compile --upgrade --build-isolation --generate-hashes --output-file \
requirements/main.txt requirements/main.in
pip-compile --upgrade --build-isolation --generate-hashes --output-file \
requirements/dev.txt requirements/dev.in
update: update-deps init
conda-env-create:
conda create -n course-intro-ld-mongo python=3.9
conda-env-ensure-ipython-kernel:
python -m ipykernel install --user \
--name course-intro-ld-mongo \
--display-name "Python (course-intro-ld-mongo)"
conda-env-remove:
conda remove -n course-intro-ld-mongo --all
.PHONY: init update-deps update \
conda-env-create conda-env-ensure-ipython-kernel conda-env-remove