diff --git a/lambda_packages/Pillow/README.md b/lambda_packages/Pillow/README.md index 36c37c2..2a213d8 100644 --- a/lambda_packages/Pillow/README.md +++ b/lambda_packages/Pillow/README.md @@ -15,7 +15,7 @@ The EC2 instance will need the correct IAM role to perform this action. ##Build -Report from `pip install --verbose --use-wheel pillow` +Report from `pip install --verbose pillow` ``` diff --git a/lambda_packages/Pillow/build.sh b/lambda_packages/Pillow/build.sh index d5b3bcb..5f1a861 100644 --- a/lambda_packages/Pillow/build.sh +++ b/lambda_packages/Pillow/build.sh @@ -39,7 +39,7 @@ echo "activate env in `pwd`" source env/bin/activate echo "install pips" -pip install --verbose --use-wheel Pillow==${PILVER} +pip install --verbose Pillow==${PILVER} deactivate echo "tar lib and lib64" diff --git a/lambda_packages/PyNaCl/build.sh b/lambda_packages/PyNaCl/build.sh index 204437d..fb9781c 100755 --- a/lambda_packages/PyNaCl/build.sh +++ b/lambda_packages/PyNaCl/build.sh @@ -32,7 +32,7 @@ echo 'install-purelib=$base/lib64/python' >> ./setup.cfg TARGET_DIR=${ENV}/packaged echo "install pips" -pip install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" +pip install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate cd ${TARGET_DIR} && tar -zcvf ../../../${PACKAGE}-${VERSION}.tar.gz * && cd ../../.. diff --git a/lambda_packages/bcrypt/build.sh b/lambda_packages/bcrypt/build.sh index 92d6b68..a22b02d 100644 --- a/lambda_packages/bcrypt/build.sh +++ b/lambda_packages/bcrypt/build.sh @@ -32,7 +32,7 @@ echo 'install-purelib=$base/lib64/python' >> ./setup.cfg TARGET_DIR=${ENV}/packaged echo "install pips" -pip install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" +pip install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate cd ${TARGET_DIR} && tar -zcvf ../../../${PACKAGE}-${VERSION}.tar.gz * && cd ../../.. diff --git a/lambda_packages/cffi/build.sh b/lambda_packages/cffi/build.sh index 204437d..fb9781c 100755 --- a/lambda_packages/cffi/build.sh +++ b/lambda_packages/cffi/build.sh @@ -32,7 +32,7 @@ echo 'install-purelib=$base/lib64/python' >> ./setup.cfg TARGET_DIR=${ENV}/packaged echo "install pips" -pip install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" +pip install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate cd ${TARGET_DIR} && tar -zcvf ../../../${PACKAGE}-${VERSION}.tar.gz * && cd ../../.. diff --git a/lambda_packages/misaka/build.sh b/lambda_packages/misaka/build.sh index 5705683..1d0eb5d 100644 --- a/lambda_packages/misaka/build.sh +++ b/lambda_packages/misaka/build.sh @@ -32,7 +32,7 @@ echo 'install-purelib=$base/lib64/python' >> ./setup.cfg TARGET_DIR=${ENV}/packaged echo "install pips" -pip install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" +pip install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate cd ${TARGET_DIR} && tar -zcvf ../../../${PACKAGE}-${VERSION}.tar.gz * && cd ../../.. diff --git a/lambda_packages/mysqlclient/README.md b/lambda_packages/mysqlclient/README.md index 1a92a4d..8d6eb8c 100644 --- a/lambda_packages/mysqlclient/README.md +++ b/lambda_packages/mysqlclient/README.md @@ -6,6 +6,10 @@ On an machine with Amazon Linux: On a machine with docker and access to lambci images: -`docker run --rm -v `pwd`:/app lambci/lambda:build-python2.7 bash -c "cd /app && /app/build.sh --docker --py2-only mysqlclient 1.3.12"` +``` +docker run --rm -v `pwd`:/app lambci/lambda:build-python2.7 bash -c "cd /app && /app/build.sh --docker --py2-only mysqlclient 1.3.12" +``` -`docker run --rm -v `pwd`:/app lambci/lambda:build-python3.6 bash -c "cd /app && /app/build.sh --docker --py3-only mysqlclient 1.3.12"` +``` +docker run --rm -v `pwd`:/app lambci/lambda:build-python3.6 bash -c "cd /app && /app/build.sh --docker --py3-only mysqlclient 1.3.12" +``` diff --git a/lambda_packages/mysqlclient/build.sh b/lambda_packages/mysqlclient/build.sh index 26bbc91..1eb2016 100755 --- a/lambda_packages/mysqlclient/build.sh +++ b/lambda_packages/mysqlclient/build.sh @@ -88,8 +88,8 @@ function build_package { echo "install pips" TARGET_DIR=${ENV}/packaged - echo ${PIP} install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" - ${PIP} install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" + echo ${PIP} install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" + ${PIP} install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate TARGET_DIR=${ENV}/packaged diff --git a/lambda_packages/pylibmc/README.md b/lambda_packages/pylibmc/README.md index ebb8e88..1457139 100644 --- a/lambda_packages/pylibmc/README.md +++ b/lambda_packages/pylibmc/README.md @@ -8,6 +8,10 @@ Built based on https://github.com/bxm156/pylibmc-manylinux/blob/master/.travis.y On a machine with docker and access to lambci images: -`docker run --rm -v `pwd`:/app -d lambci/lambda:build-python2.7 bash -c "cd /app && /app/build.sh --docker --py2-only pylibmc 1.5.2"` +``` +docker run --rm -v `pwd`:/app -d lambci/lambda:build-python2.7 bash -c "cd /app && /app/build.sh --docker --py2-only pylibmc 1.5.2" +``` -`docker run --rm -v `pwd`:/app -d lambci/lambda:build-python3.6 bash -c "cd /app && /app/build.sh --docker --py3-only pylibmc 1.5.2"` +``` +docker run --rm -v `pwd`:/app -d lambci/lambda:build-python3.6 bash -c "cd /app && /app/build.sh --docker --py3-only pylibmc 1.5.2" +``` diff --git a/lambda_packages/pylibmc/build.sh b/lambda_packages/pylibmc/build.sh index 1a623b6..a0ccd4a 100755 --- a/lambda_packages/pylibmc/build.sh +++ b/lambda_packages/pylibmc/build.sh @@ -99,8 +99,8 @@ function build_package { echo "install pips" TARGET_DIR=${ENV}/packaged - echo ${PIP} install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" - ${PIP} install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" + echo ${PIP} install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" + ${PIP} install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate TARGET_DIR=${ENV}/packaged diff --git a/lambda_packages/python-ldap/build.sh b/lambda_packages/python-ldap/build.sh index 4fd3ee6..65c79fc 100755 --- a/lambda_packages/python-ldap/build.sh +++ b/lambda_packages/python-ldap/build.sh @@ -88,8 +88,8 @@ function build_package { echo "install pips" TARGET_DIR=${ENV}/packaged - echo ${PIP} install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" - ${PIP} install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" + echo ${PIP} install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" + ${PIP} install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate TARGET_DIR=${ENV}/packaged diff --git a/lambda_packages/regex/build.sh b/lambda_packages/regex/build.sh index 3dbf175..6d229e0 100644 --- a/lambda_packages/regex/build.sh +++ b/lambda_packages/regex/build.sh @@ -39,7 +39,7 @@ echo "activate env in `pwd`" source env/bin/activate echo "install pips" -pip install --verbose --use-wheel pillow +pip install --verbose pillow deactivate echo "tar lib and lib64" diff --git a/lambda_packages/xmlsec/build.sh b/lambda_packages/xmlsec/build.sh index 1b483ca..1e82035 100644 --- a/lambda_packages/xmlsec/build.sh +++ b/lambda_packages/xmlsec/build.sh @@ -33,7 +33,7 @@ echo 'install-purelib=$base/lib64/python' >> ./setup.cfg TARGET_DIR=${ENV}/packaged echo "install pips" -pip install --verbose --use-wheel --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" +pip install --verbose --no-dependencies --target ${TARGET_DIR} "${PACKAGE}==${VERSION}" deactivate cp `rpm -ql xmlsec1 | grep "libxmlsec1.so.1$"` ${TARGET_DIR}