-
-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit ... 1. uses a more robust algorithm to determine special ST paths at startup, which no longer relies on location of `Default.sort` module, but uses `sys.executable` variable to determine, whether PC is running within ST plugin environment or on an external CI runner which mocks ST API. The new approach fixes an issue, which causes path detection to resolve invalid paths, if users extract whole Default package. PC assumed sublimehq's development environment in that case. 2. moves forward to rely on `__spec__` in favor of `__file__` and `__loader__` as this is what python is moving to in general. The ladder ones are dropped step by step by recent python releases (3.13).
- Loading branch information
Showing
1 changed file
with
48 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters