add a make_tox.sh script, so i can set paths for pyenv
This commit is contained in:
parent
c8c7f39b56
commit
d07ba7c0bf
16
Makefile
16
Makefile
@ -1,5 +1,13 @@
|
||||
init:
|
||||
pip install -r requirements.txt
|
||||
clean:
|
||||
find celigo -name \*.pyc -delete
|
||||
find celigo -name \*__pycache__ -delete
|
||||
rm -rf build-*
|
||||
rm -rf *egg*
|
||||
rm -rf dist
|
||||
|
||||
test:
|
||||
tox
|
||||
tox:
|
||||
./make_tox.sh
|
||||
|
||||
test-all: tox
|
||||
|
||||
all: clean test-all
|
||||
|
7
make_tox.sh
Executable file
7
make_tox.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
pyenv shell 2.7.11 3.3.6 3.4.4 3.5.1 pypy-5.0.0
|
||||
pyenv rehash
|
||||
tox
|
Loading…
Reference in New Issue
Block a user