hrmm, maybe between the 3 of us we can extract a module that works in all cases and isn’t too stupid inefficient
Packages/PackageName/Asset.ext
/Abspath/Packages/PackageName/Asset.ext
/Abspath/Packages/PackageName.sublime-package/Asset.ext
I guess each of these could somehow come from the following:
(sublime.packages_path(), sublime.installed_packages_path(), os.path.dirname(sublime.executable_path()))
I might start with extracting just path helper stuff into a new module/repo