16f5914c90
To cover all supported versions of Python using Tox
18 lines
315 B
Bash
Executable File
18 lines
315 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
export CFLAGS='-O2'
|
|
export EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"
|
|
|
|
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
|
|
eval "$(pyenv init -)"
|
|
|
|
for ver in $@
|
|
do
|
|
pyenv install $ver
|
|
done
|
|
|
|
pyenv global $@
|
|
pip install --upgrade pip
|
|
pyenv rehash
|