4 ms·
> you either need to write Python that simultaneously targets Python 2 and Python 3 That's what we did for the WakaTime plugin, and it's worked great for us.
by welder 11y ago
> you either need to write Python that simultaneously targets Python 2 and Python 3
That's what we did for the WakaTime plugin, and it's worked great for us.
https://github.com/wakatime/sublime-wakatime https://github.com/wakatime/sublime-wakatime
We did however have to use external python for the common python core instead of just importing the package, mainly because of the lack of ssl support in the embedded python.