Skip to content

Commit

Permalink
fix: scripts for manual build / release process
Browse files Browse the repository at this point in the history
  • Loading branch information
hredestig committed Oct 20, 2016
1 parent 3dfb234 commit f545451
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions make-mac-wheels.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

set -e

for PYBIN in /Library/Frameworks/Python.framework/Versions/*/bin; do
${PYBIN}/pip install wheel delocate
${PYBIN}/python setup.py bdist_wheel
done

# Bundle external shared libraries into the wheels
for whl in dist/cobra*.whl; do
delocate-wheel $whl -w dist/wheelhouse/
done

1 change: 1 addition & 0 deletions manylinux_builder/build_cobrapy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

for PYBIN in /opt/python/*/bin; do
${PYBIN}/pip install pyelftools==0.23
${PYBIN}/pip wheel cobra --pre
done

Expand Down

0 comments on commit f545451

Please sign in to comment.