Skip to content

Commit 3d3a8e9

Browse files
revert: "fix: Resolve menu.py not found error when installing via pip (#172)" (#175)
This reverts commit 9364964. Signed-off-by: Steven Banaszak <[email protected]>
1 parent b14f988 commit 3d3a8e9

File tree

4 files changed

+12
-58
lines changed

4 files changed

+12
-58
lines changed

Diff for: DEVELOPMENT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ WARNING: This workflow installs additional Python packages into your Nuke's pyth
8787

8888
Windows (update the paths as needed):
8989
```
90-
set NUKE_PATH=C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke\src;C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke\src\deadline\nuke_submitter
90+
set NUKE_PATH=C:\Users\<username>\deadline-clients\deadline-cloud-for-nuke\src
9191
```
9292

9393
Mac (update the paths as needed):
9494
```
95-
export NUKE_PATH=/Users/<username>/dev/deadline-clients/deadline-cloud-for-nuke/src:/Users/<username>/dev/deadline-clients/deadline-cloud-for-nuke/src/deadline/nuke_submitter
95+
export NUKE_PATH=/Users/<username>/dev/deadline-clients/deadline-cloud-for-nuke/src
9696
```
9797
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.
9898

Diff for: README.md

+2-26
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,6 @@ This library requires:
2424

2525
This package provides a Nuke plugin that creates jobs for AWS Deadline Cloud using the [AWS Deadline Cloud client library][deadline-cloud-client]. Based on the loaded comp it determines the files required, allows the user to specify render options, and builds an [OpenJD template][openjd] that defines the workflow.
2626

27-
### Getting Started
28-
29-
To install the submitter manually, you can use `pip`.
30-
31-
1. Install the package using `pip`.
32-
```sh
33-
pip install deadline-cloud-for-nuke -t <target-directory>
34-
```
35-
36-
2. Set the `NUKE_PATH` environment variable.
37-
For Windows,
38-
```sh
39-
set NUKE_PATH=<target-directory>;<target-directory>/deadline/nuke_submitter
40-
```
41-
42-
For Linux and MacOS:
43-
```sh
44-
export NUKE_PATH=<target-directory>:<target-directory>/deadline/nuke_submitter
45-
```
46-
47-
3. After installation and within the same terminal, run `Nuke<version>` executable. The Nuke submitter should now be available in the AWS Deadline menu.
48-
49-
NOTE: If you want the submitter available outside of this shell, consider using `NUKE_PATH` as an environment variable rather than a shell variable.
50-
5127
## Adaptor
5228

5329
The Nuke Adaptor implements the [OpenJD][openjd-adaptor-runtime] interface that allows render workloads to launch Nuke and feed it commands. This gives the following benefits:
@@ -61,12 +37,12 @@ Jobs created by the submitter use this adaptor by default.
6137

6238
The adaptor can be installed by the standard python packaging mechanisms:
6339
```sh
64-
pip install deadline-cloud-for-nuke
40+
$ pip install deadline-cloud-for-nuke
6541
```
6642

6743
After installation it can then be used as a command line tool:
6844
```sh
69-
nuke-openjd --help
45+
$ nuke-openjd --help
7046
```
7147

7248
For more information on the commands the OpenJD adaptor runtime provides, see [here][openjd-adaptor-runtime-lifecycle].

Diff for: install_builder/deadline-cloud-for-nuke.xml

+8-30
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<onPackingFilterList>
1919
<fileNameFilter pattern="*/deadline/nuke_submitter/*" logic="matches" patternType="glob"/>
2020
<fileNameFilter pattern="*/deadline/nuke_util/*" logic="matches" patternType="glob"/>
21+
<fileNameFilter pattern="*/menu.py" logic="matches" patternType="glob"/>
2122
</onPackingFilterList>
2223
</distributionDirectory>
2324
</distributionFileList>
@@ -73,36 +74,13 @@
7374
</stringParameter>
7475
</parameterList>
7576
<postInstallationActionList>
76-
<if>
77-
<conditionRuleList>
78-
<platformTest type="windows"/>
79-
</conditionRuleList>
80-
<actionList>
81-
<fnAddPathEnvironmentVariable>
82-
<progressText>Setting NUKE_PATH</progressText>
83-
<name>NUKE_PATH</name>
84-
<value>${nuke_installdir};${nuke_installdir}/deadline/nuke_submitter</value>
85-
<scope>${installscope}</scope>
86-
<insertAt>end</insertAt>
87-
</fnAddPathEnvironmentVariable>
88-
</actionList>
89-
</if>
90-
<if>
91-
<ruleEvaluationLogic>or</ruleEvaluationLogic>
92-
<conditionRuleList>
93-
<platformTest type="osx"/>
94-
<platformTest type="linux"/>
95-
</conditionRuleList>
96-
<actionList>
97-
<fnAddPathEnvironmentVariable>
98-
<progressText>Setting NUKE_PATH</progressText>
99-
<name>NUKE_PATH</name>
100-
<value>${nuke_installdir}:${nuke_installdir}/deadline/nuke_submitter</value>
101-
<scope>${installscope}</scope>
102-
<insertAt>end</insertAt>
103-
</fnAddPathEnvironmentVariable>
104-
</actionList>
105-
</if>
77+
<fnAddPathEnvironmentVariable>
78+
<progressText>Setting NUKE_PATH</progressText>
79+
<name>NUKE_PATH</name>
80+
<value>${nuke_installdir}</value>
81+
<scope>${installscope}</scope>
82+
<insertAt>end</insertAt>
83+
</fnAddPathEnvironmentVariable>
10684
<unzip>
10785
<destinationDirectory>${nuke_installdir}</destinationDirectory>
10886
<zipFile>${installdir}/tmp/nuke_deps/dependency_bundle/deadline_cloud_for_nuke_submitter-deps-${nuke_deps_platform}.zip</zipFile>
File renamed without changes.

0 commit comments

Comments
 (0)