-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·32 lines (25 loc) · 1.19 KB
/
Makefile
File metadata and controls
executable file
·32 lines (25 loc) · 1.19 KB
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
28
29
30
31
32
## -----------------------------------------------------------------------------
## The purpose of this Makefile is to provide the commands to setup the
## environment for development of the EDA Package
## -----------------------------------------------------------------------------
help: ## Show this help
@egrep -h '\s##\s' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; \
{printf "%-15s %s\n", $$1, $$2}'
miniconda: ## Downloads and install latest Miniconda3 x86_64 for Linux
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -p ~/miniconda
rm Miniconda3-latest-Linux-x86_64.sh
env-create-eda: ## Creates a conda environment named "bases" with Python 3.8
conda create -n eda python=3.8 --yes
env-remove-anac: ## Removes the "bases" environment
conda env remove -n eda
# must run `conda activate bases` before executing this
env-setup: ## Sets up the environment for development
# Install repository as an editable package
pip install -r requirements.txt
# Install jupyter to remove notebooks output
pip install jupyter
env-java-install: ## Install Java in enviroment
sudo apt install openjdk-11-jdk
env-import-eda:
pip install -e ./