Hi all,
I’m working on my own Sublime (v4) package. I’m new to creating my own package and Python. I was pretty excited to get my package working with some simple functionality but to reach my end goal I need to import an external Python library which has its own dependencies.
I’m storing those third party dependencies in a folder within my package, named ‘vendor’.
After a good deal of research, it seems like I need to instruct Python to search an additional directory (this ‘vendor’ folder) for these dependencies. I do this by adding a sys.path. But where?
So my question is where do I give this instruction. Do I just set the additional sys.path on my package .py file (the one on the root of my package) or do I have to set it on every file that imports the dependencies?
Thanks for your time.