diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index bb767ea..ac1357d 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -182,6 +182,6 @@ You can run the adaptor on your local workstation. This approach does not contai nuke-openjd run --init-data file://init-data.yaml --run-data file://run-data.yaml --path-mapping-rules file://path-mapping.yaml ``` - NOTE: The nuke-openjd binary expects that the Nuke executable is named `nuke` and is set on the PATH. If this is not the case, you can set the `NUKE_ADAPTOR_NUKE_EXECUTABLE` environment variable to the path to the Nuke executable. + NOTE: The nuke-openjd binary expects that the Nuke executable is named `nuke` and is set on the PATH. If this is not the case, you can set the `NUKE_EXECUTABLE` environment variable to the path to the Nuke executable. 4. The result will be written based on the output specified on the write node, taking any path mapping into account. diff --git a/README.md b/README.md index d50e39a..4a947c3 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,10 @@ The Nuke Adaptor implements the [OpenJD][openjd-adaptor-runtime] interface that * sticky rendering, where the application stays open between tasks, * path mapping, that enables cross-platform rendering -Jobs created by the submitter use this adaptor by default. +Jobs created by the submitter use this adaptor by default, and that both the installed adaptor +and the Nuke executable be available on the PATH of the user that will be running your jobs. + +Or you can set the `NUKE_EXECUTABLE` to point to the Nuke executable. ### Getting Started @@ -49,13 +52,13 @@ For more information on the commands the OpenJD adaptor runtime provides, see [h ## Versioning -This package's version follows [Semantic Versioning 2.0](https://semver.org/), but is still considered to be in its +This package's version follows [Semantic Versioning 2.0](https://semver.org/), but is still considered to be in its initial development, thus backwards incompatible versions are denoted by minor version bumps. To help illustrate how versions will increment during this initial development stage, they are described below: -1. The MAJOR version is currently 0, indicating initial development. -2. The MINOR version is currently incremented when backwards incompatible changes are introduced to the public API. -3. The PATCH version is currently incremented when bug fixes or backwards compatible changes are introduced to the public API. +1. The MAJOR version is currently 0, indicating initial development. +2. The MINOR version is currently incremented when backwards incompatible changes are introduced to the public API. +3. The PATCH version is currently incremented when bug fixes or backwards compatible changes are introduced to the public API. ## Security diff --git a/src/deadline/nuke_adaptor/NukeAdaptor/adaptor.py b/src/deadline/nuke_adaptor/NukeAdaptor/adaptor.py index 60eb326..d61fff3 100644 --- a/src/deadline/nuke_adaptor/NukeAdaptor/adaptor.py +++ b/src/deadline/nuke_adaptor/NukeAdaptor/adaptor.py @@ -432,7 +432,7 @@ def _start_nuke_client(self) -> None: FileNotFoundError: If the nuke_client.py file could not be found. KeyError: If a configuration for the given platform and version does not exist. """ - nuke_exe = os.environ.get("NUKE_ADAPTOR_NUKE_EXECUTABLE", "nuke") + nuke_exe = os.environ.get("NUKE_EXECUTABLE", "nuke") regexhandler = RegexHandler(self.regex_callbacks) # Add the Open Job Description namespace directory to PYTHONPATH, so that adaptor_runtime_client