I’m writing a python script to build a .sublime-package from a package folder. That script lives in the package folder, eg;
PackageDownloader
PackageDownloaderPlugin.py – the plugin; has an include for PackageDownloader.py
PackageDownloader.py – a library file, does not contain sublime commands
Package.py – a utility to zip up the relevant files
Is there some way that I can mark a file as not being something for Sublime to load? Either a note to Sublime to say ‘don’t load me’, or a statement along the lines of if name == main, or some other trick? At the moment, every time I load sublime or edit my utility, Sublime tries to execute it.
Cheers.