Twoje komentarze

Yes, you can use the compiled _ssl modules and the code from line 11-31 of SFTP.py for an open source package.

If you install my SFTP package and look at the SFTP.py in the package folder, you can find some loader code to try loading three different variants of the ssl module. In the lib folder there are three different versions of the _ssl module compiled against different versions of openssl, both for 32bit and 64bit architectures.


From my experience, this seems to work with all modern linux installs.

I've been waiting on Jon for quite a while to add a side bar API so that I can present remote files in a more sane way. Unfortunately it seems this is somewhat of a low priority for him.

I just released a (commercial) SVN plugin at http://wbond.net/sublime_packages/svn
I just released a (commercial) full-featured SVN plugin at http://wbond.net/sublime_packages/svn
I wrote an FTP and SFTP package that provides a fairly extensive amount of functionality. http://wbond.net/sublime_packages/sftp
I wrote a package that provides extensive FTP and SFTP functionality. http://wbond.net/sublime_packages/sftp

I've done a bunch of development and testing, and my package manager called Package Control (http://wbond.net/sublime_packages/package_control) is ready for general use. Feel free to use GitHub issues (https://github.com/wbond/sublime_package_control/issues) when you run into bugs or if you have ideas.

Just for others who end up checking this out, it appears the ssl module is only missing on Linux builds. I ended up working around it with wrappers for command-line curl and wget programs.
Hmm, actually, looking at the Python zip in Sublime Text 2/lib I see an ssl.pyo file, so maybe I am just not using urllib2 correctly.