On 18/04/2017 at 02:38, xxxxxxxx wrote:
Hi,
It seems there's some confusion here.
Plugin data classes are loaded and registered automatically by Cinema.
Custom/user/utility classes can be defined in py files and imported inside other py or pyp files.
The best solution is to organize the imported files/modules in subfolder(s).
You can find interesting threads on Stack Overflow. For instance:
Python: import a file from a subdirectory
It is strongly advised to not mess up with sys.path or PYTHONPATH.
Be aware Python can't import pyp files.
EDIT: Updated Python: import a file from a subdirectory link