Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Resolve menu.py not found error when installing via pip #172

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

StevenBanaszak
Copy link
Contributor

@StevenBanaszak StevenBanaszak commented Nov 13, 2024

What was the problem/requirement? (What/Why)

Addressing user feedback on receiving doesn't have menu.py error while installing deadline-cloud-for-nuke using pip install deadline-cloud-for-nuke -t in MacOS.

This pull request is effectively un-reverting a change that was previously reverted in this pull request. Updates have been made to the installer to ensure that it still works as expected.

What was the solution? (How)

  1. Move menu.py to a location that is included in with PIP.
  2. Update the NUKE_PATH in the installer.
  3. Update the instructions.

What is the impact of this change?

pip install deadline-cloud-for-nuke -t works.

How was this change tested?

  1. pip install /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/dist/deadline_cloud_for_nuke-0.18.5-py3-none-any.whl -t ~/testing
  2. Built the Windows installer.
  3. Ran the Windows installer with no NUKE_PATH set.
  4. Built the Linux installer.
  5. Ran the Linux installer with no NUKE_PATH set.
  6. Submitted some simple rendering jobs to a Deadline Cloud Service Managed Fleet.

Did you run the "Job Bundle Output Tests"? If not, why not? If so, paste the test results here.


Timestamp: 2024-11-13T11:18:14.124750-08:00
Running job bundle output test: /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests/group-read

group-read
Test succeeded

Timestamp: 2024-11-13T11:18:15.287022-08:00
Running job bundle output test: /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests/noise-saver

noise-saver
Test succeeded

Timestamp: 2024-11-13T11:18:16.368149-08:00
Running job bundle output test: /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests/multi-load-save

multi-load-save
Test succeeded

Timestamp: 2024-11-13T11:18:17.476152-08:00
Running job bundle output test: /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests/frame

frame
Test succeeded

Timestamp: 2024-11-13T11:18:18.479424-08:00
Running job bundle output test: /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests/ocio

ocio
Test succeeded

Timestamp: 2024-11-13T11:18:19.433572-08:00
Running job bundle output test: /Users/sbanas/dev/deadline-clients/deadline-cloud-for-nuke/job_bundle_output_tests/cwd-path

cwd-path
Test succeeded

All tests passed, ran 6 total.
Timestamp: 2024-11-13T11:21:29.794575-08:00

Was this change documented?

Yes

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@StevenBanaszak StevenBanaszak requested a review from a team as a code owner November 13, 2024 19:33
Copy link

Comment on lines +97 to +103
<fnAddPathEnvironmentVariable>
<progressText>Setting NUKE_PATH</progressText>
<name>NUKE_PATH</name>
<value>${nuke_installdir}:${nuke_installdir}/deadline/nuke_submitter</value>
<scope>${installscope}</scope>
<insertAt>end</insertAt>
</fnAddPathEnvironmentVariable>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work on Macs? Does it add the env var to the bash profile?

Copy link

@joshueng joshueng Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this work on Macs? Does it add the env var to the bash profile?

Does the installer even support MacOS?

Copy link
Contributor Author

@StevenBanaszak StevenBanaszak Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a custom action that we have defined. The bulk of the work uses setInstallerVariable from InstallBuilder https://releases.installbuilder.com/installbuilder/docs/installbuilder-userguide/variables.html

The installer does not support MacOS. You can use pip install for Macs, though.

@StevenBanaszak StevenBanaszak merged commit 9364964 into aws-deadline:mainline Nov 14, 2024
12 checks passed
StevenBanaszak added a commit to StevenBanaszak/deadline-cloud-for-nuke that referenced this pull request Nov 26, 2024
StevenBanaszak added a commit to StevenBanaszak/deadline-cloud-for-nuke that referenced this pull request Nov 26, 2024
StevenBanaszak added a commit that referenced this pull request Nov 26, 2024
@erico-aws erico-aws mentioned this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants