-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #171 from developmentseed/dependencies
use circleci for tests
- Loading branch information
Showing
11 changed files
with
67 additions
and
109 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,7 +1,15 @@ | ||
FROM ubuntu:14.04 | ||
RUN apt-get -y update | ||
RUN apt-get install --yes git-core python-pip python-skimage python-numpy python-scipy libgdal-dev libatlas-base-dev gfortran libfreetype6-dev libglib2.0-dev zlib1g-dev python-pycurl | ||
ADD landsat /usr/local/lib/python2.7/dist-packages/landsat | ||
ADD bin/landsat /usr/local/bin/ | ||
RUN apt-get install --yes git-core python-pip python-scipy libgdal-dev libatlas-base-dev gfortran libfreetype6-dev libglib2.0-dev zlib1g-dev python-pycurl | ||
ADD . /landsat | ||
RUN cd /landsat && pip install -r requirements/docker.txt | ||
RUN pip install setuptools | ||
RUN pip install -U pip | ||
RUN pip install wheel | ||
RUN pip install https://s3-us-west-2.amazonaws.com/ds-satellite-projects/landsat-util/numpy-1.10.4-cp27-cp27mu-linux_x86_64.whl | ||
RUN pip install https://s3-us-west-2.amazonaws.com/ds-satellite-projects/landsat-util/Pillow-3.1.1-cp27-cp27mu-linux_x86_64.whl | ||
RUN pip install https://s3-us-west-2.amazonaws.com/ds-satellite-projects/landsat-util/scikit_image-0.12.3-cp27-cp27mu-manylinux1_x86_64.whl | ||
RUN cd /landsat && pip install -r requirements-dev.txt | ||
RUN sed -i 's/numpy.*//g' /landsat/requirements.txt | ||
RUN sed -i 's/scipy.*//g' /landsat/requirements.txt | ||
RUN sed -i 's/scikit-image.*//g' /landsat/requirements.txt | ||
RUN cd /landsat && pip install -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
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,29 @@ | ||
machine: | ||
python: | ||
version: 2.7.10 | ||
|
||
dependencies: | ||
pre: | ||
- sudo apt-get -y update | ||
- sudo apt-get install -f --yes libgdal-dev | ||
- pip install setuptools | ||
- pip install -U pip | ||
- pip install wheel | ||
- pip install cython>=0.21 | ||
- pip install numpy==1.10.4 | ||
- pip install -r requirements-dev.txt | ||
- pip install -e . | ||
|
||
test: | ||
override: | ||
- python setup.py test | ||
|
||
|
||
deployment: | ||
production: | ||
branch: master | ||
commands: | ||
- echo "[pypi]" > ~/.pypirc | ||
- echo "username:" $PYPI_USERNAME >> ~/.pypirc | ||
- echo "password:" $PYPI_PASSWORD >> ~/.pypirc | ||
- make release |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
-r base.txt | ||
pdoc>=0.3.1 | ||
nose>=1.3.7 | ||
coverage>=4.0 | ||
Sphinx>=1.3.1 | ||
wheel>=0.26.0 | ||
mock>=1.3.0 | ||
jsonschema==2.5.1 |
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,2 +1,14 @@ | ||
-r requirements/base.txt | ||
|
||
usgs==0.1.9 | ||
requests==2.7.0 | ||
python-dateutil==2.5.1 | ||
numpy==1.10.4 | ||
termcolor==1.1.0 | ||
rasterio==0.32.0 | ||
six==1.8.0 | ||
scipy==0.17.0 | ||
scikit-image==0.12.3 | ||
homura==0.1.3 | ||
boto==2.39.0 | ||
polyline==1.1 | ||
geocoder==1.9.0 | ||
matplotlib==1.5.1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.