Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lambda_packages/Pillow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

```

Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/Pillow/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/PyNaCl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../..
Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/bcrypt/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../..
Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/cffi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../..
Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/misaka/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../..
Expand Down
8 changes: 6 additions & 2 deletions lambda_packages/mysqlclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
4 changes: 2 additions & 2 deletions lambda_packages/mysqlclient/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions lambda_packages/pylibmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
4 changes: 2 additions & 2 deletions lambda_packages/pylibmc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lambda_packages/python-ldap/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/regex/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion lambda_packages/xmlsec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down