build for 3.5, 3.6 and 3.7

This commit is contained in:
j 2018-12-14 14:03:19 +01:00
parent e9dacd2bf3
commit e85b9478a7

View file

@ -15,15 +15,15 @@ mkdir old
test -e lib && mv lib old/ test -e lib && mv lib old/
test -e bin && mv bin old/ test -e bin && mv bin old/
rm -rf p34 p35 p36 rm -rf p35 p36 p37
virtualenv -p /usr/bin/python3.4 p34 /usr/bin/python3.7 -m venv p37
p34/bin/pip3 install -r requirements.txt p37/bin/pip3 install -r requirements.txt
mkdir -p lib/python3.4 mkdir -p lib/python3.7
mv p34/lib/python3.4/site-packages lib/python3.4/site-packages mv p37/lib/python3.7/site-packages lib/python3.7/site-packages
virtualenv -p /usr/bin/python3.5 p35 /usr/bin/python3.5 -m venv p35
p35/bin/pip3 install -r requirements.txt p35/bin/pip3 install -r requirements.txt
for f in site-packages/ed25519/_ed25519.cpython-35m-x86_64-linux-gnu.so \ for f in site-packages/ed25519/_ed25519.cpython-35m-x86_64-linux-gnu.so \
site-packages/sqlalchemy/cprocessors.cpython-35m-x86_64-linux-gnu.so \ site-packages/sqlalchemy/cprocessors.cpython-35m-x86_64-linux-gnu.so \
@ -31,10 +31,10 @@ for f in site-packages/ed25519/_ed25519.cpython-35m-x86_64-linux-gnu.so \
site-packages/sqlalchemy/cutils.cpython-35m-x86_64-linux-gnu.so \ site-packages/sqlalchemy/cutils.cpython-35m-x86_64-linux-gnu.so \
site-packages/netifaces.cpython-35m-x86_64-linux-gnu.so site-packages/netifaces.cpython-35m-x86_64-linux-gnu.so
do do
cp p35/lib/python3.5/$f lib/python3.4/$f cp p35/lib/python3.5/$f lib/python3.7/$f
done done
virtualenv -p /usr/bin/python3.6 p36 /usr/bin/python3.6 -m venv p36
p36/bin/pip3 install -r requirements.txt p36/bin/pip3 install -r requirements.txt
for f in site-packages/ed25519/_ed25519.cpython-36m-x86_64-linux-gnu.so \ for f in site-packages/ed25519/_ed25519.cpython-36m-x86_64-linux-gnu.so \
site-packages/sqlalchemy/cprocessors.cpython-36m-x86_64-linux-gnu.so \ site-packages/sqlalchemy/cprocessors.cpython-36m-x86_64-linux-gnu.so \
@ -42,7 +42,7 @@ for f in site-packages/ed25519/_ed25519.cpython-36m-x86_64-linux-gnu.so \
site-packages/sqlalchemy/cutils.cpython-36m-x86_64-linux-gnu.so \ site-packages/sqlalchemy/cutils.cpython-36m-x86_64-linux-gnu.so \
site-packages/netifaces.cpython-36m-x86_64-linux-gnu.so site-packages/netifaces.cpython-36m-x86_64-linux-gnu.so
do do
cp p36/lib/python3.6/$f lib/python3.4/$f cp p36/lib/python3.6/$f lib/python3.7/$f
done done
rm -r p34 p35 p36 old requirements.txt rm -r p35 p36 p37 old requirements.txt