fix setup and update python versions

pull/1/head
Moisés Guimarães de Medeiros 2018-07-23 23:14:36 +01:00
parent 3009db3e05
commit 9f70f72cb6
5 changed files with 8 additions and 10 deletions

7
.gitignore vendored
View File

@ -63,11 +63,8 @@ target/
# pyenv python configuration file
.python-version
# pyenv dist build
venv_2.7
venv_3.4
venv_3.5
venv_3.6
# macos `make dist` venvs
venv_*
# code editor preferences
.vscode

View File

@ -6,5 +6,5 @@ docker run \
--rm \
-v `pwd`:/wolfcrypt-py \
-w /wolfcrypt-py \
wolfssl/manylinux1-x86_64 \
quay.io/pypa/manylinux1_x86_64 \
bash -c "make/manylinux1/build.sh"

View File

@ -1,7 +1,7 @@
set -e
set +x
for PYVERSION in 2.7 3.4 3.5 3.6; do
for PYVERSION in 2.7 3.5 3.6 3.7; do
virtualenv -p /Library/Frameworks/Python.framework/Versions/${PYVERSION}/bin/python${PYVERSION} venv_${PYVERSION}
. ./venv_${PYVERSION}/bin/activate
pip install -r requirements/setup.txt

View File

@ -3,10 +3,10 @@ set -euo pipefail
set -x
URLS=(
'https://www.python.org/ftp/python/2.7.14/python-2.7.14-macosx10.6.pkg'
'https://www.python.org/ftp/python/3.4.4/python-3.4.4-macosx10.6.pkg'
'https://www.python.org/ftp/python/2.7.15/python-2.7.15-macosx10.6.pkg'
'https://www.python.org/ftp/python/3.5.4/python-3.5.4-macosx10.6.pkg'
'https://www.python.org/ftp/python/3.6.4/python-3.6.4-macosx10.6.pkg'
'https://www.python.org/ftp/python/3.6.6/python-3.6.6-macosx10.6.pkg'
'https://www.python.org/ftp/python/3.7.0/python-3.7.0-macosx10.6.pkg'
)
for url in "${URLS[@]}"; do

View File

@ -85,6 +85,7 @@ setup(
u"Topic :: Software Development"
],
setup_requires=["cffi"],
install_requires=["cffi"],
cmdclass={"build_ext" : cffiBuilder}
)