What are dependency packages?
A dependency package contains the necessary Python modules for a bundle to function.
These packages are essential for the client code in different addons within a bundle.
Get official dependency package
When updating Pipeline to the latest Release on your server, you’ll receive an updated dependency package compatible with the official AYON addons.
Create and update a dependency package
For custom addons with a customized pyproject.toml
, you’ll likely need to create your custom dependency package.
Luckily, there’s a tool you can use to resolve and download dependencies, create a dependency package, upload it to your AYON server, and add it to your bundle.
- Clone ayon-dependencies-tool
- Add your
.env
file to theayon-dependencies-tool
directory. Required environment variables:AYON_SERVER_URL=http://localhost:5000/ AYON_API_KEY=<your-ayon-api-key>
- Run the following commands. Find more information in the repo’s README on GitHub:
cd ayon-dependencies-tool .\start.ps1 set-env .\start.ps1 install .\start.ps1 create -b <your_bundle_name>