-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Handle different OCIO configs in adapter (#168)
Signed-off-by: Steven Banaszak <[email protected]> Co-authored-by: Steven Banaszak <[email protected]>
- Loading branch information
1 parent
0eb87cb
commit 5d55675
Showing
8 changed files
with
126 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,12 +50,71 @@ will work on Linux or MacOS if you modify the path references as appropriate. | |
WARNING: This workflow installs additional Python packages into your Nuke's python distribution. You may need to run the Command Prompt in Administrative mode if your current user does not have permission to write on Nuke's site-package folder. | ||
|
||
1. Create a development location within which to do your git checkouts. For example `~/deadline-clients`. Clone packages from this directory with commands like `git clone [email protected]:aws-deadline/deadline-cloud-for-nuke.git`. You'll also want the `deadline-cloud` repo. | ||
2. Switch to your Nuke directory, like `cd "C:\Program Files\Nuke15.0v2"`. | ||
3. Run `.\python -m pip install -e C:\Users\<username>\deadline-clients\deadline-cloud` to install the AWS Deadline Cloud Client Library in edit mode. | ||
4. Run `.\python -m pip install -e C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke` to install the Nuke Submitter in edit mode. | ||
5. Run `set NUKE_PATH=C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke\src\deadline\nuke_submitter` to put the `menu.py` file in the path Nuke searches for menu extensions. | ||
6. Run `set DEADLINE_ENABLE_DEVELOPER_OPTIONS=true` to enable the job bundle debugging support. This enables a menu item you can use to run the tests from the `job_bundle_output_tests` directory. | ||
7. Run `.\Nuke<version>.exe` to run Nuke. The Nuke submitter should be available in the AWS Deadline menu. | ||
1. Switch to your Nuke directory, like `cd "C:\Program Files\Nuke15.0v2"`. | ||
|
||
Windows (update the path as needed): | ||
``` | ||
cd "C:\Program Files\Nuke15.0v2" | ||
``` | ||
|
||
Mac (update the path as needed): | ||
``` | ||
cd /Applications/Nuke15.0v4/Nuke15.0v4.app/Contents/MacOS | ||
``` | ||
1. Install the AWS Deadline Cloud Client Library in edit mode. | ||
|
||
Windows (update the path as needed): | ||
``` | ||
.\python -m pip install -e C:\Users\<username>\deadline-clients\deadline-cloud | ||
``` | ||
|
||
Mac (update the path as needed): | ||
``` | ||
./python -m pip install -e /Users/<username>/dev/deadline-clients/deadline-cloud | ||
``` | ||
1. Run `.\python -m pip install -e C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke` to install the Nuke Submitter in edit mode. | ||
|
||
Windows (update the path as needed): | ||
``` | ||
.\python -m pip install -e C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke | ||
``` | ||
|
||
Mac (update the path as needed): | ||
``` | ||
./python -m pip install -e /Users/<username>/dev/deadline-clients/deadline-cloud-for-nuke | ||
``` | ||
1. Put the `menu.py` file in the path Nuke searches for menu extensions. If you have already set your `NUKE_PATH` environment variable, append these paths to it instead of replacing it. | ||
|
||
Windows (update the paths as needed): | ||
``` | ||
set NUKE_PATH=C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke\src\deadline\nuke_submitter:C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke\src | ||
``` | ||
|
||
Mac (update the paths as needed): | ||
``` | ||
export NUKE_PATH=/Users/<username>/dev/deadline-clients/deadline-cloud-for-nuke/src/deadline/nuke_submitter:/Users/<username>/dev/deadline-clients/deadline-cloud-for-nuke/src | ||
``` | ||
1. Set the `DEADLINE_ENABLE_DEVELOPER_OPTIONS` environment variable to `true` to enable the job bundle debugging support. This enables a menu item you can use to run the tests from the `job_bundle_output_tests` directory. | ||
|
||
Windows: | ||
``` | ||
set DEADLINE_ENABLE_DEVELOPER_OPTIONS=true | ||
``` | ||
|
||
Mac: | ||
``` | ||
export DEADLINE_ENABLE_DEVELOPER_OPTIONS=true | ||
``` | ||
1. Run Nuke. The Nuke submitter should be available in the AWS Deadline menu. | ||
Windows: | ||
``` | ||
.\Nuke<version>.exe | ||
``` | ||
|
||
Mac: | ||
``` | ||
./Nuke<version> | ||
``` | ||
|
||
## Application Interface Adaptor Development Workflow | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters