Adding extra python packages for event plugins

Being reading and trying a few things, but can’t figure out the best way…or even the working way.

The case is:

  • Made a custom Event Plugin
  • It needs to import bunch of Azure python sdk libraries

By default - they are missing.

i tried:

  • added them to the pythonsync3.zip - sort of works… strangely enough the error changed from missing “azure” module to missing “cryptography” - even though it exists in pythonsync3.zip. But I’m not sure it’s a correct way even.

  • added a folder with azure sdk modules to the Python Settings / Search Paths in Repository Configuration = no change. Still issues…

What am I missing?

my even plugin is OnHouseClean (timed) plugin. How can I add the python modules so they can be imported?

  • added them to the pythonsync3.zip - sort of works… strangely enough the error changed from missing “azure” module to missing “cryptography” - even though it exists in pythonsync3.zip. But I’m not sure it’s a correct way even.

That should work, I’d recommend checking out this guide here in our help centre that talks about where those modules live and how they get pulled. That should help explain what’s going on with the module not being found.

  • added a folder with azure sdk modules to the Python Settings / Search Paths in Repository Configuration = no change. Still issues…

How’d you do this one? That feature adds to the PYTHONPATH, so as long as the modules you’re trying to use are present on the machine that should have worked.