PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/share/ocio/setup_ocio.sh.in

http://github.com/imageworks/OpenColorIO
Autoconf | 17 lines | 8 code | 4 blank | 5 comment | 0 complexity | f59384c4c72ca3e21a016d9183e5d80f MD5 | raw file
 1#!/bin/sh
 2# SPDX-License-Identifier: BSD-3-Clause
 3# Copyright Contributors to the OpenColorIO Project.
 4
 5OCIO_ROOT="@CMAKE_INSTALL_PREFIX@"
 6OCIO_EXECROOT="@CMAKE_INSTALL_EXEC_PREFIX@"
 7
 8# For OS X
 9export DYLD_LIBRARY_PATH="${OCIO_EXECROOT}/lib:${DYLD_LIBRARY_PATH}"
10
11# For Linux
12export LD_LIBRARY_PATH="${OCIO_EXECROOT}/lib:${LD_LIBRARY_PATH}"
13
14export PATH="${OCIO_EXECROOT}/bin:${PATH}"
15export PYTHONPATH="${OCIO_EXECROOT}/@PYTHON_VARIANT_PATH@:${PYTHONPATH}"
16export NUKE_PATH="${OCIO_EXECROOT}/lib/nuke@Nuke_API_VERSION@:${NUKE_PATH}"
17export NUKE_PATH="${OCIO_ROOT}/share/nuke:${NUKE_PATH}";