wakatime / sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/sublime-text
BSD 3-Clause "New" or "Revised" License
525 stars 47 forks source link

Internal python #52

Closed albertosantini closed 8 years ago

albertosantini commented 8 years ago

Using the Sublime "internal" Python, does it make any sense instead of downloading and installing Python (version 3)?

(Maybe I am missing it, but I don't see any Python requirement in terms of version 2 or version 3 in the README or in the CLI).

alanhamlett commented 8 years ago

The embedded python that comes with ST2 and ST3 is missing some core libraries that WakaTime needs, like the ssl library needed to connect to the WakaTime api over https. Here is a Floobits blog post describing some of the issues: https://news.floobits.com/2015/08/17/sublime-text-plugin-api-its-python-sort-of/

albertosantini commented 8 years ago

I see.

Interesting link and I landed on the same final link suggested in that post: https://packagecontrol.io/docs/dependencies

I have been using 2.7.10. In the source code I read 3.4.3, if Python it is not installed.

You may add the minimum requirements in the README about Python versions.

Thanks for the details.

alanhamlett commented 8 years ago

This should be solved now that we download and install python automatically on Windows. Also, with #54 we are detecting Python better using the Windows Registry.