mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-09-09 11:25:10 +08:00
Replace installing python3.6 command on Makefile (#41)
* Modify Makefile * Modify .travis.yml * Replace make command on .travis.yml
This commit is contained in:
@@ -7,12 +7,16 @@ format:
|
||||
|
||||
dev:
|
||||
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
|
||||
python3.6 -m pip install black
|
||||
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
|
||||
Reference in New Issue
Block a user