codebrainz / geanypy

Python bindings for the Geany plugin API.
http://codebrainz.github.com/geanypy
GNU General Public License v2.0
45 stars 17 forks source link

Python 3 Libraries Not Supported #47

Open doakey3 opened 6 years ago

doakey3 commented 6 years ago

Currently, when I attempt to import python 3 libraries, I get an error (even if I add the python 3 sitepackages folder to the sys.path, I still get incompatability errors.)

Currently my workaround is to use subprocess.check_output to call my python 3 scripts, but I'd like to distribute my plugins when subprocess is not needed. Is python 3 integration a goal for this project?

elextr commented 6 years ago

No, one of the dependencies will never be Python 3 IIUC so it won't be possible.

One of the Geany contributors has a replacement method of handling Python plugins, but he hasn't submitted it to geany-plugins yet. @kugel- is it even public?

kugel- commented 6 years ago

yes it is, it even has seen multiple releases: https://github.com/kugel-/peasy

It's python 3, so give it a try.