Skip to content

Commit

Permalink
Bump to 1.1.0b8
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jul 6, 2016
1 parent 03a1362 commit ea306f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions build-wheels.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
#!/bin/bash
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m"

# Compile wheels
echo "Compile wheels"
for PYTHON in ${PYTHON_VERSIONS}; do
/opt/python/${PYTHON}/bin/pip install -r /io/requirements-wheel.txt
/opt/python/${PYTHON}/bin/pip wheel /io/ -w /io/dist/
done

# Bundle external shared libraries into the wheels
for whl in wheelhouse/*.whl; do
if [[ $whl == *"linux_"* ]]; then
auditwheel repair $whl -w /io/dist/
fi
echo "Bundle external shared libraries into the wheels"
for whl in /io/dist/*.whl; do
auditwheel repair $whl -w /io/dist/
done

# Install packages and test
echo "Install packages and test"
for PYTHON in ${PYTHON_VERSIONS}; do
/opt/python/${PYTHON}/bin/pip install multidict --no-index -f file:///io/dist
rm -rf /io/tests/__pycache__
Expand Down
2 changes: 1 addition & 1 deletion multidict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__all__ = ('MultiDictProxy', 'CIMultiDictProxy',
'MultiDict', 'CIMultiDict', 'upstr', '__version__')

__version__ = '1.1.0b7'
__version__ = '1.1.0b8'


if bool(os.environ.get('MULTIDICT_NO_EXTENSIONS')):
Expand Down
4 changes: 2 additions & 2 deletions run_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if [ ! -z $TRAVIS_TAG ]; then
docker pull quay.io/pypa/manylinux1_x86_64
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /io/build-wheels.sh
echo "Dist folder content is:"
for f in dist/*.whl
for f in dist/*manylinux1_x86_64.whl
do
echo "Upload $f"
python -m twine upload $f --username andrew.svetlov --password $PYPI_PASSWD
Expand All @@ -15,7 +15,7 @@ if [ ! -z $TRAVIS_TAG ]; then
docker pull quay.io/pypa/manylinux1_i686
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_i686 linux32 /io/build-wheels.sh
echo "Dist folder content is:"
for f in dist/*.whl
for f in dist/manylinux1_i686.whl
do
echo "Upload $f"
python -m twine upload $f --username andrew.svetlov --password $PYPI_PASSWD
Expand Down

0 comments on commit ea306f2

Please sign in to comment.