Skip to content

Commit 33273b3

Browse files
authored
Merge pull request #34 from MrLixm/refacto/ocio-python-build
refacto(ocio): build config with python script
2 parents fb69bdf + 8752f0d commit 33273b3

File tree

13 files changed

+1091
-379
lines changed

13 files changed

+1091
-379
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# .dev/OCIO
2+
3+
Contains the build script for the OCIO config.
4+
5+
## prerequisites
6+
7+
- You have a python environment as specified by the repository root `pyproject.toml`.
8+
- The `AgXLib` package is in the `PYTHONPATH`
9+
10+
for tesing you also need:
11+
12+
- Foundry's Nuke installed on your machine (15+ version)
13+
- Git Bash if you are on Windows, to execute shell scripts
14+
15+
## build instructions
16+
17+
Once prerequisites are satisfied:
18+
- run the [build.py](build.py) script with a python interpreter
19+
20+
With no argument the script will build the ocio config using relative paths to
21+
its location.
22+
23+
The build script has a small CLI, use `python build.py --help` to check for
24+
options.
25+
26+
## testing
27+
28+
To run a basic test the config is working you can execute the
29+
[launch-tests.sh](tests/nuke/launch-tests.sh) script in the `tests/` folder.
30+
31+
You need to manually check the output of the execution for warnings or errors.

0 commit comments

Comments
 (0)