Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Jun 27, 2014
0 parents commit f5e2c73
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.pyc
tmp_for_test/
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "terryfy"]
path = terryfy
url = git://github.com/matthew-brett/terryfy.git
[submodule "scikit-image"]
path = scikit-image
url = git://github.com/scikit-image/scikit-image.git
37 changes: 37 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
language:
- objective-c

env:
matrix:
- VERSION=2.7.7 NUMPY_VERSION=1.6.0
- VERSION=3.3.5 NUMPY_VERSION=1.7.1
- VERSION=3.4.1 NUMPY_VERSION=1.7.1

install:
- source terryfy/travis_tools.sh
- get_python_environment macpython $VERSION venv
- pip install -f $NIPY_WHEELHOUSE numpy==$NUMPY_VERSION cython wheel six
- cd scikit-image
- python setup.py bdist_wheel
- pip install dist/*.whl
- cd ..

script:
# These packages required for tests
- pip install -f $NIPY_WHEELHOUSE nose scipy pillow matplotlib
# tests broken on python 3.4 for earlier numpy
- if [ "${VERSION:0:3}" == "3.4" ]; then pip install -U numpy; fi
- mkdir tmp_for_test
- cd tmp_for_test
- nosetests --exe -v skimage
- cd ..

before_deploy: cd scikit-image/dist
deploy:
provider: cloudfiles
username: travis-worker
api_key:
secure: U+rKEiR6sQ+vsTJt3MuqqZwWvPV4gkjnQvzeR6cP9JZpfvkKuaa+vcgj7OngZ69DUgFTzRiTnFAxCbArGpDUkbP9V+kX5UgkePMdxhK+j9V0UOo8g+QwZtlqmV78pTXemWndwbqcy0uyfxuBpxhPXGSAHuzk+pZUbhH2zSEfh0s=
region: ORD
container: wheels
skip_cleanup: true
27 changes: 27 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
##########################
Scikit-image wheel builder
##########################

Repository to build scikit-image wheels.

To update:

* Update scikit-image submodule with version you want to build:

* cd sckit-image && git pull && git checkout DESIRED_TAG
* cd .. && git add scikit-image

* Check minimum numpy versions to build against in ``.travis.yml`` file. You
need to build against the earliest numpy that scikit-image is compatible with;
see `forward, backward numpy compatibility
<http://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312>`_

The wheels get uploaded to a rackspace container to which I have the password.
The password is encrypted to my travis account, so the upload won't work for you
from another account. Either contact me to get set up, or use another upload
service such as github - see for example Jonathan Helmus' `sckit-image wheels
builder <https://github.com/jjhelmus/scikit-image-ci-wheel-builder>`_

I got the rackspace password from Olivier Grisel - we might be able to share
this account across projects - again - please contact me or Olivier if you'd
like this to happen.
1 change: 1 addition & 0 deletions scikit-image
Submodule scikit-image added at c5919a
1 change: 1 addition & 0 deletions terryfy
Submodule terryfy added at ba6a7a

0 comments on commit f5e2c73

Please sign in to comment.