Skip to content

Commit fd68a1f

Browse files
committed
Try pre-install of OCIO
Signed-off-by: Michael Dolan <[email protected]>
1 parent 93f3c4e commit fd68a1f

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ build:
1313
jobs:
1414
build:
1515
html:
16-
- python -m sphinx -vvv -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
16+
- python -m sphinx -vv -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
1717

1818
sphinx:
1919
configuration: docs/conf.py

docs/api/processors.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Processor
1414

1515
.. autoclass:: PyOpenColorIO.Processor
1616
:members:
17+
:undoc-members:
18+
:special-members: __init__
19+
:exclude-members: TransformFormatMetadataIterator, WriteFormatIterator
1720

1821
.. autoclass:: PyOpenColorIO.Processor.TransformFormatMetadataIterator
1922
:special-members: __getitem__, __iter__, __len__, __next__

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@
200200
# from PyPi. If that version is not yet available (pre-release), fallback to
201201
# installing the latest version.
202202

203-
if RTD_BUILD:
204-
pip_cmd = ["python", "-m", "pip", "install", "--no-cache-dir"]
205-
try:
206-
subprocess.run(pip_cmd + [f"opencolorio=={version}"], check=True)
207-
except subprocess.CalledProcessError:
208-
subprocess.run(pip_cmd + ["--upgrade", "opencolorio"], check=True)
203+
# if RTD_BUILD:
204+
# pip_cmd = ["python", "-m", "pip", "install", "--no-cache-dir"]
205+
# try:
206+
# subprocess.run(pip_cmd + [f"opencolorio=={version}"], check=True)
207+
# except subprocess.CalledProcessError:
208+
# subprocess.run(pip_cmd + ["--upgrade", "opencolorio"], check=True)

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ sphinx-press-theme
1212
sphinx-tabs
1313
breathe
1414
setuptools<68.0.0
15+
opencolorio

0 commit comments

Comments
 (0)