-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,5 +60,7 @@ target/ | |
|
||
#Ipython Notebook | ||
.ipynb_checkpoints | ||
|
||
.develop | ||
.install-deps | ||
wheelhouse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m" | ||
|
||
# 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 wheelhouse/ | ||
done | ||
|
||
# Bundle external shared libraries into the wheels | ||
for whl in wheelhouse/*.whl; do | ||
auditwheel repair $whl -w /io/wheelhouse/ | ||
done | ||
|
||
# Install packages and test | ||
for PYTHON in ${PYTHON_VERSIONS}; do | ||
/opt/python/${PYTHON}/bin/pip install multidict --no-index -f wheelhouse | ||
rm -rf /io/tests/__pycache__ | ||
/opt/python/${PYTHON}/bin/py.test /io/tests | ||
rm -rf /io/tests/__pycache__ | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
-r requirements-wheel.txt | ||
pip | ||
flake8 | ||
pyflakes>=1.0.0 | ||
coverage | ||
sphinx | ||
alabaster>=0.6.2 | ||
cython | ||
tox | ||
sphinxcontrib-newsfeed | ||
pytest | ||
pytest-cov | ||
pygments | ||
-e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
cython | ||
pytest | ||
|