View a markdown version of this page

Create a conda build recipe for the Maya adaptor - Deadline Cloud

Create a conda build recipe for the Maya adaptor

The maya-openjd package provides the adaptor that integrates Maya with AWS Deadline Cloud (Deadline Cloud) job submissions. When you submit a Maya render job using a Deadline Cloud submitter GUI, the CondaPackages parameter includes maya-openjd alongside the maya package. The adaptor handles launching Maya, communicating render parameters, and managing the application lifecycle during a job session. For more information about adaptors, see Adaptor packages.

Understanding the recipe

The maya-openjd sample recipe builds the adaptor from the deadline-cloud-for-maya source package published to PyPI. The recipe.yaml installs the package using pip into the conda environment.

The recipe depends on Python and two other packages from the Deadline Cloud samples repository that you need to build first:

Python and other dependencies are available from conda-forge, so add -c conda-forge to the rattler-build publish command when you build the adaptor package.

Building the adaptor package

The maya-openjd package depends on two other packages from the Deadline Cloud samples repository. Build all three packages in order from the conda_recipes directory. The -c conda-forge option on each command is to satisfy recipe dependencies for Python and Python libraries.

Build the deadline package.

rattler-build publish deadline/recipe/recipe.yaml \ --to file://$HOME/my-conda-channel \ --build-number=+1 \ -c conda-forge

Build the openjd-adaptor-runtime package.

rattler-build publish openjd-adaptor-runtime/recipe/recipe.yaml \ --to file://$HOME/my-conda-channel \ --build-number=+1 \ -c conda-forge

Build the maya-openjd package.

rattler-build publish maya-openjd/recipe/recipe.yaml \ --to file://$HOME/my-conda-channel \ --build-number=+1 \ -c conda-forge

For other publishing options: