Skip to content

Commit 7af7bf8

Browse files
20160710 #2
1 parent 112043a commit 7af7bf8

File tree

6 files changed

+5
-71
lines changed

6 files changed

+5
-71
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ RUN R -e "install.packages('RCurl', lib='/usr/local/lib/R/site-library', repos='
178178
RUN R -e "install.packages(c('IRkernel','IRdisplay'), repos = 'http://irkernel.github.io/', type = 'source')" && \
179179
R -e "IRkernel::installspec(user=FALSE)"
180180

181-
RUN apt-get install -y libyaml-dev
181+
RUN apt-get install -y libyaml-dev pypy-dev
182182

183183
# Backup local files to container image
184184
COPY etc/ /root/work/.backup/

Dockerfile-packages

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ RUN chmod a+x /home/$NB_USER/packages/*.sh
213213

214214
# Install Python, R and notebook extension packages
215215
RUN bash /home/jupyterhub/packages/python-packages.sh
216-
RUN bash /home/jupyterhub/packages/python-gis-packages.sh
217-
RUN bash /home/jupyterhub/packages/python-nlp-packages.sh
218-
RUN bash /home/jupyterhub/packages/r-packages.sh
219-
RUN bash /home/jupyterhub/packages/r-gis-packages.sh
216+
#RUN bash /home/jupyterhub/packages/python-gis-packages.sh
217+
#RUN bash /home/jupyterhub/packages/python-nlp-packages.sh
218+
#RUN bash /home/jupyterhub/packages/r-packages.sh
219+
#RUN bash /home/jupyterhub/packages/r-gis-packages.sh
220220
# https://github.com/ipython-contrib/IPython-notebook-extensions
221221
RUN bash /home/jupyterhub/nbextensions/nbextensions-packages.sh
222222

nbextensions/nbextensions.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/python-gis-packages.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,6 @@ apt-get install python-mpltoolkists.basemap python3-mpltoolkits.basemap
1616
export CPLUS_INCLUDE_PATH=/usr/include/gdal
1717
export C_INCLUDE_PATH=/usr/include/gdal
1818

19-
# GDAL pip install exception
20-
source /vepypy/bin/activate
21-
pip install --upgrade setuptools pip
22-
pip install ipyparallel
23-
#pip install GDAL
24-
pip install --global-option=build_ext --global-option="-I/usr/include/gdal" GDAL==`gdal-config --version`
25-
# https://github.com/EverythingMe/geodis
26-
pip install geojson cartopy pyshp geopy pygeocodio
27-
pip install scikit-image pysal geopandas
28-
pip install Geobases
29-
pip install -i https://pypi.anaconda.org/pypi/simple geocoder
30-
# https://github.com/thampiman/reverse-geocoder
31-
pip install reverse_geocoder
32-
deactivate
33-
3419
source /venv27/bin/activate
3520
pip install --upgrade setuptools pip
3621
pip install ipyparallel

packages/python-nlp-packages.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,6 @@ apt-get update
33
apt-get install -y portaudio19-dev flac uchardet libmagic1 enca recode python-lxml \
44
libxml2-dev libxslt-dev
55

6-
source /vepypy/bin/activate
7-
pip install --upgrade setuptools pip
8-
pip install cchardet, pyicu, cssutils, chardet, shutilwhich, python-magic
9-
pip install nltk
10-
pip install beautifulsoup4
11-
pip install spacy
12-
#python -m spacy.en.download
13-
pip install SpeechRecognition
14-
pip install PyAudio
15-
pip install pattern, justext
16-
pip install pyquery httplib2 biopython
17-
deactivate
18-
196
source /venv27/bin/activate
207
pip install --upgrade setuptools pip
218
pip install cchardet, pyicu, cssutils, chardet, shutilwhich, python-magic

packages/python-packages.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,6 @@
33
apt-get update
44
apt-get install -y libhdf5-serial-dev libfreetype6-dev
55

6-
source /vepypy/bin/activate
7-
pip install --upgrade setuptools pip
8-
pip install retry
9-
pip install git+https://bitbucket.org/pypy/numpy.git
10-
pip install pandas
11-
pip install joblib cython xgboost python-dateutil
12-
pip install scipy scikit-learn crab sklearn-pandas
13-
pip install h5py
14-
pip install statsmodels pybrain gensim
15-
pip install bokeh plotly vega folium vincent
16-
pip install matplotlib
17-
pip install csvkit tables Dora
18-
pip install ipywidgets
19-
pip install seaborn lightning-python
20-
pip install blaze
21-
pip install ipython-cypher
22-
pip install yhat
23-
deactivate
24-
256
source /venv27/bin/activate
267
pip install --upgrade setuptools pip
278
pip install retry

0 commit comments

Comments
 (0)