Need help distributing Python plugin with external package requirements

Need help distributing Python plugin with external package requirements

EzeuzMind
Explorer Explorer
588 Views
0 Replies
Message 1 of 1

Need help distributing Python plugin with external package requirements

EzeuzMind
Explorer
Explorer

Hi all, I've been a Python developer for long, but this is the first time I tried making a plug-in for Maya (my side hobby). I made some stuff that might be useful for others, so I'm thinking of sharing it via the Autodesk App Store.

 

The distribution doc seems good enough in general: https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=Maya_SDK_Distributing_Maya_Plug_ins_html

 

But how do I come around adding some external packages? In our own environment, ofc this isn't an issue as you can just `pip install <package_name>` or directly copy to the `site-packages` of our own Maya installation. But you def can't do that in other people's machine.

 

I'm thinking of bundling everything (incl dependencies) into a single python file, some tools are available. Or maybe a single executable, tho unsure how Maya would load those. Any helps will be appreciated, thanks!

0 Likes
589 Views
0 Replies
Replies (0)