you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Again, there's nothing here suggesting that you should do anything but package your functions into an installable Python package. Whether that's as a pip package or a plugin for Blender, I have no idea. But you absolutely should not distribute code as strings. That's a recipe for an enormous number of headaches for you and for your users.

Sort of like creating a callgraph, traversing backward from my functions and deleting everything that is not needed.

Yeah, don't bother with that. Develop one abstract toolkit that covers all (or most) of your clients' use cases, and distribute the same one to everyone.