Skip to content

Commit

Permalink
TO BE SQUASHED jupyterlab
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Jul 31, 2020
1 parent 69510ff commit efdf8b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .binder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y --no-install-recommends \
-o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew \
-o Dpkg::Use-Pty=0 \
jupyter-notebook \
locales \
python3-pip \
python3-setuptools \
Expand Down Expand Up @@ -46,13 +45,14 @@ ENV HOME="/home/$NB_USER" \
LANGUAGE=en_US.UTF-8 \
LC_ALL=en_US.UTF-8 \
SHELL=/bin/bash \
USER="$NB_USER"
USER="$NB_USER" \
PATH="/home/$NB_USER/.local/bin:/usr/local/bin:/usr/bin:/bin"

WORKDIR $HOME
RUN mkdir pygccxml
COPY ["/", "pygccxml/"]
RUN chown -R $NB_UID:$NB_GID \
"$HOME/pygccxml"
USER "$NB_USER"
RUN pip3 --no-cache-dir install -e ./pygccxml
CMD ["jupyter", "notebook", "--ip", "0.0.0.0", "pygccxml/docs/examples/notebook/example.ipynb"]
RUN pip3 --no-cache-dir install -e ./pygccxml[examples]
CMD ["jupyter", "lab", "--ip", "0.0.0.0", "pygccxml/docs/examples/notebook/example.ipynb"]
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"sphinx",
"sphinx_rtd_theme",
}
requirements_examples = {
"jupyterlab",
}

setup(name="pygccxml",
version=version,
Expand All @@ -38,6 +41,7 @@
extras_require={
"test": list(requirements_test),
"docs": list(requirements_docs),
"examples": list(requirements_examples),
},
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit efdf8b5

Please sign in to comment.