-
Notifications
You must be signed in to change notification settings - Fork 31
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 #55 from sjsrey/master
REL: update changelog for release.
- Loading branch information
Showing
6 changed files
with
217 additions
and
60 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
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,26 @@ | ||
# Ubuntu Bionic 18.04 at Jan 26'19 | ||
FROM jupyter/minimal-notebook:87210526f381 | ||
|
||
MAINTAINER Serge Rey <[email protected]> | ||
|
||
# https://github.com/ContinuumIO/docker-images/blob/master/miniconda3/Dockerfile | ||
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 | ||
|
||
USER root | ||
|
||
#--- Utilities ---# | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends software-properties-common | ||
RUN apt-get install -y libgeos-dev | ||
|
||
ADD install_deps_py.sh $HOME/install_deps_py.sh | ||
|
||
USER root | ||
RUN chmod +x $HOME/install_deps_py.sh | ||
RUN sed -i -e 's/\r$//' $HOME/install_deps_py.sh | ||
RUN ["/bin/bash", "-c", "$HOME/install_deps_py.sh"] | ||
RUN rm /home/jovyan/install_deps_py.sh | ||
|
||
# Switch back to user to avoid accidental container runs as root | ||
USER $NB_UID |
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,18 @@ | ||
GEOPANDAS = /home/serge/Dropbox/g/geopandas | ||
# Linux specific Docker file for mapclassify | ||
IMAGE='sjsrey/mapclassify:2.2' | ||
|
||
container: | ||
docker build -t $(IMAGE) . | ||
|
||
# run a shell for our env | ||
cli: | ||
docker run -it -p 8888:8888 -v ${PWD}:/home/jovyan $(IMAGE) /bin/bash | ||
|
||
dev: | ||
echo ${GEOPANDAS} | ||
docker run -it -p 8888:8888 -e "PYSALDATA=/home/jovyan/.local/pysal_data" -v ${PWD}:/home/jovyan -v ${GEOPANDAS}:/home/jovyan/geopandas $(IMAGE) sh -c "/home/jovyan/develop.sh && /bin/bash" | ||
|
||
term: | ||
echo ${GEOPANDAS} | ||
docker run -it -e "PYSALDATA=/home/jovyan/.local/pysal_data" -v ${PWD}:/home/jovyan -v ${GEOPANDAS}:/home/jovyan/geopandas $(IMAGE) sh -c "/home/jovyan/develop.sh && /bin/bash" |
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,34 @@ | ||
#!/bin/bash | ||
|
||
echo "Updating conda....." | ||
/opt/conda/bin/conda update --yes | ||
|
||
echo "Installing conda mapclassify stack....." | ||
|
||
conda config --set always_yes yes --set changeps1 no --set show_channel_urls true | ||
conda config --add channels conda-forge --force | ||
conda config --set channel_priority strict | ||
conda install --quiet --yes \ | ||
'scikit-learn' \ | ||
'seaborn' \ | ||
'libpysal=4.2.0' \ | ||
'rtree' | ||
|
||
#conda install --channel conda-forge geopandas | ||
|
||
echo "Installing doc dependencies...." | ||
pip install -U sphinx sphinx_gallery sphinxcontrib-bibtex sphinx_bootstrap_theme sphinxcontrib-napoleon | ||
|
||
echo "Installing testing dependencies...." | ||
|
||
conda install -c conda-forge -c defaults --quiet --yes \ | ||
'nose' \ | ||
'nose-progressive' \ | ||
'nose-exclude' \ | ||
'coverage' \ | ||
'coveralls' \ | ||
'pytest' \ | ||
'pytest-cov' \ | ||
'pytest-mpl' | ||
|
||
conda install -c conda-forge --quiet --yes descartes |
Oops, something went wrong.