ad-don path and requirements

Hi guys, not sure is the right thread… but I’ll give it a go.

Is there any environment variable to set/extend the add-on lookup path? I would be in need of having it set programmatically.
Thanks a bunch !

I have found this, but is not what I’m after, as it would require a startup script.


could I use ${BLENDER_USER_SCRIPT} ?

Are you wanting a additional addon path or is this for a addon? I think you can go to User Preferences > File > Scripts > “insert my additional path here”.

bpy.utils.user_resource or something else in the bpy.utils module.

Thanks guys , tested with the BLENDER_USER_SCRIPT env and seems to be working :slight_smile: