Files
kair_algorithms_draft/Makefile
T
Kyunghwan Kim 35f5524cd7 Replace installing python3.6 command on Makefile (#41)
* Modify Makefile

* Modify .travis.yml

* Replace make command on .travis.yml
2019-03-30 14:48:45 +09:00

22 lines
539 B
Makefile

test:
env PYTHONPATH=./scripts pytest --flake8 # --cov=algorithms
format:
isort -y
python3.6 -m black -t py27 .
dev:
pip install -r scripts/requirements-dev.txt
python3.6 -m pip install black # required python3.6 & python3-pip
pre-commit install
dep:
pip install -r scripts/requirements.txt
py36:
# install python3.6 for black (only ubuntu)
pip install -r scripts/requirements-dev.txt
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.6
sudo apt-get install -y python3-pip