.. SPDX-License-Identifier: CC-BY-4.0 Copyright Contributors to the OpenColorIO Project. Installation Guide ================== Cloning the Repository ---------------------- The *OpenColorIO Configuration for ACES* repository uses `Git submodules `__ thus cloning the repository requires initializing them:: git clone --recursive https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES.git If you have already cloned the repository and forgot the `--recursive` argument, it is possible to initialize the submodules as follows:: git submodule update --init --recursive Poetry ------ The *OpenColorIO Configuration for ACES* repository adopts `Poetry `__ to help managing its dependencies, this is the recommended way to get started with development. Assuming `python >= 3.8 `__ is available on your system along with `OpenColorIO >= 2 `__, the development dependencies are installed with `Poetry `__ as follows:: git clone --recursive https://github.com/AcademySoftwareFoundation/OpenColorIO-Config-ACES.git cd OpenColorIO-Config-ACES poetry install --extras "optional" The *aces-dev* *CTL* reference graph can be plotted but it requires `Graphviz `__ to be installed on the system and having installed the optional `pygraphviz `__: python package:: poetry install --extras "optional graphviz" Docker ------ Installing the dependencies for the `previous config generator `__ was not a trivial task. For ease of use an `aswf-docker `__ based container is now available. Creating the container from the `Dockerfile `__ is done as follows:: docker build -t aswf/opencolorio-config-aces:latest . or alternatively, if the dependencies described in the next section are satisfied:: invoke docker build Then, to run *bash* in the container:: docker run -it -v ${PWD}:/home/aswf/OpenColorIO-Config-ACES aswf/opencolorio-config-aces:latest /bin/bash Pypi ---- The **OpenColorIO Configuration for ACES** package requires various dependencies in order to run and be able to generate the *OCIO* configurations: Primary Dependencies ******************** - `python >= 3.8, < 3.11 `__ - `black `__ - `OpenColorIO `__ Optional Dependencies ********************* - `colour `__ - `graphviz `__ - `jsonpickle `__ - `networkx `__ - `pygraphviz `__ Development Dependencies ************************ - `black `__ - `coverage `__ - `coveralls `__ - `flake8 `__ - `invoke `__ - `mypy `__ - `pre-commit `__ - `pydata-sphinx-theme `__ - `pydocstyle `__ - `pytest `__ - `pyupgrade `__ - `restructuredtext-lint `__ - `sphinx >= 4, < 5 `__ - `twine `__ Once the dependencies are satisfied, the **OpenColorIO Configuration for ACES** package can be installed from the `Python Package Index `__ by issuing this command in a shell:: pip install --user opencolorio-config-aces