diff --git a/.gitignore b/.gitignore index e6d6736..d5cf8e3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ __pycache__ poetry.lock resources/images/Colour_Wheel.exr +.venv diff --git a/Dockerfile b/Dockerfile index 0c6a223..3924826 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ FROM python:3.7 -RUN curl -sL https://deb.nodesource.com/setup_13.x | bash - \ +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \ && apt-get install -y nodejs WORKDIR /tmp COPY ./requirements.txt /tmp +RUN python -m pip install --upgrade pip RUN pip install -r requirements.txt \ && rm /tmp/requirements.txt \ && python -c "import imageio;imageio.plugins.freeimage.download()" \ - && jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib + && jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib@0.7.3 RUN mkdir -p /home/colour-science/gamut-mapping-ramblings WORKDIR /home/colour-science/gamut-mapping-ramblings diff --git a/requirements.txt b/requirements.txt index a676b17..63b5793 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ backcall==0.1.0 bleach==3.1.5 certifi==2020.4.5.1 chardet==3.0.4 +colour-science==0.3.16 cycler==0.10.0 decorator==4.4.2 defusedxml==0.6.0 @@ -12,7 +13,7 @@ idna==2.9 imageio==2.8.0 importlib-metadata==1.6.0 ipykernel==5.2.1 -ipympl==0.5.6 +ipympl==0.5.7 ipynb==0.5.1 ipython==7.9.0 ipython-genutils==0.2.0 @@ -29,7 +30,7 @@ jupyterlab==2.1.2 jupyterlab-server==1.1.3 kiwisolver==1.1.0 MarkupSafe==1.1.1 -matplotlib==3.0.3 +matplotlib==3.2 mistune==0.8.4 nbconvert==5.6.1 nbformat==5.0.6 @@ -64,4 +65,3 @@ wcwidth==0.1.9 webencodings==0.5.1 widgetsnbextension==3.5.1 zipp==1.2.0 --e git+https://github.com/colour-science/colour.git@3bebd7e903cbcbee959f56786c020335a1b06cf7#egg=colour