[Wish/question] Distributing Python Package

Is it possible to distribute a package of python scripts via Yak?

That would include placing the python files and folders in the packages folder as well as adding the path with sys.path.append(mod_directory) when the package is loaded. Also a toolbar.rui

If not possibile currently could it be implemented?

Thanks in advance.

It’s not currently possible, but it’s on the to-do list (see YAK-134)!

1 Like

Thanks @will,

But that’s not really the same thing.
I have several packages with over 100 scripts maybe just one or two contain Command Options.

They are basically automation scripts and 4 custom toolbars with buttons running scripts. What I meant is having these distributed as a package.

I still don’t understand why RhinoScriptCompiler requires the script to contain a command. I am forced to create empty commands just so I can compile my scripts. That’s very impractical.

Ah, thanks for the clarification. I’ve updated the YouTrack issue.

1 Like