Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let conda and pipenv be friends for geospatial packages #6

Merged
merged 4 commits into from
Dec 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN cd /tmp && \
$CONDA_DIR/bin/conda config --system --prepend channels conda-forge && \
$CONDA_DIR/bin/conda config --system --set auto_update_conda false && \
$CONDA_DIR/bin/conda config --system --set show_channel_urls true && \
$CONDA_DIR/bin/conda config --system --set pip_interop_enabled true && \
$CONDA_DIR/bin/conda clean --all --quiet --yes && \
$CONDA_DIR/bin/conda init --verbose

Expand All @@ -50,7 +51,8 @@ RUN conda env update -n base -f environment.yml && \
COPY Pipfile* ${HOME}/
RUN conda activate base && \
export LD_LIBRARY_PATH=${CONDA_PREFIX}/lib && \
pipenv install --python ${CONDA_PREFIX}/bin/python --dev --deploy && \
pipenv --python ${CONDA_PREFIX}/bin/python --site-packages && \
pipenv install --dev --deploy && \
rm --recursive ${HOME}/.cache/pip* && \
pipenv graph

Expand Down
5 changes: 5 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ verify_ssl = true
[dev-packages]

[packages]
cartopy = {editable = true,git = "https://github.com/SciTools/cartopy.git",ref = "v0.17.0-174-g0e5eef8"}
cython = "==0.29.13"
geoviews = "==1.6.5"
h5netcdf = "==0.7.4"
intake = "==0.5.3"
intake-xarray = "==0.3.1"
jupyterlab = "==1.2.0a0"
lxml = "==4.4.1"
pydap = "==3.2.2"
pyepsg = "==0.4.0"
pyproj = "==2.4.0"
xrviz = "==0.1.3"

[requires]
Expand Down
Loading