-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement and document "Pip", "Poetry" and "Docker" based installation.
Signed-off-by: Thomas Mansencal <[email protected]>
- Loading branch information
Showing
5 changed files
with
159 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
**/.ipynb_checkpoints | ||
poetry.lock |
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,14 @@ | ||
# Copyright © 2020, Weta Digital, Ltd. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
FROM python:3.7 | ||
|
||
WORKDIR /tmp | ||
COPY ./requirements.txt /tmp | ||
RUN pip install -r requirements.txt \ | ||
&& rm /tmp/requirements.txt \ | ||
&& python -c "import imageio;imageio.plugins.freeimage.download()" | ||
|
||
RUN mkdir -p /home/weta-digital/physlight | ||
WORKDIR /home/weta-digital/physlight | ||
|
||
CMD sh -c 'cd /home/weta-digital/physlight && jupyter notebook --allow-root --ip=0.0.0.0 --port=8888' |
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,23 @@ | ||
# Copyright © 2020, Weta Digital, Ltd. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
[tool.poetry] | ||
name = "physlight" | ||
version = "1.0.0" | ||
description = "Weta Digital's PhysLight system as presented in the Siggraph 2020 Talk PhysLight: An End-to-End Pipeline for Scene-Referred Lighting." | ||
license = "Apache-2.0" | ||
authors = [ "Weta Digital" ] | ||
maintainers = [ "Weta Digital" ] | ||
readme = 'README.md' | ||
repository = "https://github.com/wetadigital/physlight" | ||
homepage = "https://www.wetafx.co.nz/" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.5" | ||
colour-science = { version = "0.3.15" } | ||
jupyter = { version = "*"} | ||
matplotlib = { version = "*"} | ||
requests = { version = "*"} | ||
|
||
[build-system] | ||
requires = [ "poetry>=0.12" ] | ||
build-backend = "poetry.masonry.api" |
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,63 @@ | ||
appnope==0.1.0 | ||
argon2-cffi==20.1.0 | ||
attrs==19.3.0 | ||
backcall==0.2.0 | ||
bleach==3.1.5 | ||
certifi==2020.6.20 | ||
cffi==1.14.2 | ||
chardet==3.0.4 | ||
colour-science==0.3.15 | ||
cycler==0.10.0 | ||
decorator==4.4.2 | ||
defusedxml==0.6.0 | ||
entrypoints==0.3 | ||
idna==2.10 | ||
imageio==2.9.0 | ||
ipykernel==5.3.4 | ||
ipython==7.9.0 | ||
ipython-genutils==0.2.0 | ||
ipywidgets==7.5.1 | ||
jedi==0.17.2 | ||
Jinja2==2.11.2 | ||
jsonschema==3.2.0 | ||
jupyter==1.0.0 | ||
jupyter-client==6.1.6 | ||
jupyter-console==6.1.0 | ||
jupyter-core==4.6.3 | ||
kiwisolver==1.1.0 | ||
MarkupSafe==1.1.1 | ||
matplotlib==3.0.3 | ||
mistune==0.8.4 | ||
nbconvert==5.6.1 | ||
nbformat==5.0.7 | ||
notebook==6.1.3 | ||
numpy==1.18.5 | ||
packaging==20.4 | ||
pandocfilters==1.4.2 | ||
parso==0.7.1 | ||
pexpect==4.8.0 | ||
pickleshare==0.7.5 | ||
Pillow==7.2.0 | ||
prometheus-client==0.8.0 | ||
prompt-toolkit==2.0.10 | ||
ptyprocess==0.6.0 | ||
pycparser==2.20 | ||
Pygments==2.6.1 | ||
pyparsing==2.4.7 | ||
pyrsistent==0.16.0 | ||
python-dateutil==2.8.1 | ||
pyzmq==19.0.2 | ||
qtconsole==4.7.6 | ||
QtPy==1.9.0 | ||
requests==2.24.0 | ||
scipy==1.4.1 | ||
Send2Trash==1.5.0 | ||
six==1.15.0 | ||
terminado==0.8.3 | ||
testpath==0.4.4 | ||
tornado==6.0.4 | ||
traitlets==4.3.3 | ||
urllib3==1.25.10 | ||
wcwidth==0.2.5 | ||
webencodings==0.5.1 | ||
widgetsnbextension==3.5.1 |