I am working on bundling up a package and I’d like to provide a nice easy-to-use solution for installing. I’ve read about .sublime-package files in relation to ST1. I’ve also found they still exist for ST2. I’ve, of course, found the Pristine Packages directory in the user’s config directory. What I can’t figure out how to do is use a .sublime-package file to install a package.
From playing around with the .sublime-package files that come with ST2, and from reading about them in relation to ST1, they appear to just be zip files. I’ve tried opening them with ST2 on Windows, Linux and OS X and on all platforms ST2 just opens it like a source code file.
I also tried placing my own .sublime-package file in the user’s Pristine Packages folder, and it just gets deleted on ST2 startup. I was hoping it would extract the file into the packages directory. The only suspect element from startup is “PackageSetup returned: -1”, but that seems to be printed even if my .sublime-package file is not present in Pristine Packages.
Is the ability to use .sublime-package files just not implemented yet, or am I missing something? Thanks for your help!