Custom standalone app

Hey there,

I’ve developed an standalone app to submit renders to Deadline automating our studio standards. What should I do to load it on Ayon tray? Do we have any example and/or documentation of that?

Thank you!
Regards,
Gabriel Valderramos

Hello,
Addon Development has documented to some extent here Addon Dev Docs | AYON Docs with alot of code snippets that should work out of the box.

Additionally, we have some example addons on Github. e.g.,

  • Example studio addon: Example of a studio addon, it’s a working addon that you can use to learn about addon dev.
  • Example Addon: Arbitrary adoon that shows capabilities of addons. the addon doesn’t necessarily work but it contains many code snippets.
  • Addon Template: empty addon that can be used to initialize new addon repos.
1 Like

Thanks @mustafa_jafar .

In my addon there is a client gui app (using qml) and a cli app:

[project.scripts]
o2_render_submitter = "o2_render_submitter.app:run"
o2_render_submitter_cli = "o2_render_submitter.cli:main"

So if I get it right, I need one settings for the tray, one for the studio defaults, and another to control the addon itself, right?

After make these settings, I create the zip package and upload on my server and restarted it. But it still not showing in my addon list…do you have any idea what is going on? Can you help me debug it?

Thanks

your file tray_settings.py belongs to the client part of the addon in compliance to this example example-studio-addon/client/my_studio_addon/addon.py at 406ac8d56bb7ae3ed556859bd51b2081c79e8a8d · ynput/example-studio-addon · GitHub

Also, I think you don’t need these in server’s __init__.py

Hey there, how can I control the python dependency of this addon?
Is by pyproject.toml file? Is there any kind of custom key to set it? Where the pyproject should be located? I put mine on the client folder but the PySide2 wasn’t installed.

Thanks!

Typically, you should add any dependencies to pyproject.toml that should live in the client directory as in here.

Then after uploading the addon and adding it to your bundle, you can create a dependecy package which combine all dependencies within your bundle.
For additional info, see What are dependency package and how to update them?

A post was merged into an existing topic: What are dependency package and how to update them?