Skip to content

Commit

Permalink
Allow specifying MAYAPY exe via environmenti
Browse files Browse the repository at this point in the history
This matches the logic we have implemented in the
`deadline-cloud-for-cinema-4d` package.

Signed-off-by: Alex Hughes <[email protected]>
  • Loading branch information
Ahuge committed Nov 29, 2024
1 parent 39d5f69 commit 6cac314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deadline/maya_adaptor/MayaAdaptor/adaptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def _start_maya_client(self) -> None:
Raises:
FileNotFoundError: If the maya_client.py file could not be found.
"""
mayapy_exe = "mayapy"
mayapy_exe = os.environ.get("MAYA_ADAPTOR_MAYAPY_EXE", "mayapy")
regexhandler = RegexHandler(self._get_regex_callbacks())

# Add the openjd namespace directory to PYTHONPATH, so that adaptor_runtime_client
Expand Down

0 comments on commit 6cac314

Please sign in to comment.