Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build system support for first-class Python plugins #297

Open
codebrainz opened this issue Nov 8, 2015 · 2 comments
Open

Build system support for first-class Python plugins #297

codebrainz opened this issue Nov 8, 2015 · 2 comments

Comments

@codebrainz
Copy link
Member

With the new proxy plugin support in Geany and eventual update of GeanyPy to use it, we should consider adding support to the build system(s) to allow first-class Python plugins.

A few things that should be considered initially:

  • GeanyPy plugins should force --enable-geanypy. Or however the dependency is best cared for.
  • They should probably be compiled to .pyc files on installation, similar to GeanyPy's .py files.
  • Whether we should have each their directory in $topsrcdir, or just install all the plugins found in GeanyPy's plugins directory.
  • Other stuff I'm sure...
@kugel-
Copy link
Member

kugel- commented Nov 16, 2015

I agree. Regarding the location, I would rather not place them under geanypy but instead at the top-level just like other plugins. They are also gonna need NEWS, README, etc like everyone else.

@elextr
Copy link
Member

elextr commented Jan 11, 2016

Agree with @kugel- the Python plugins should be top level and have the usual boilerplate. The user really should not care about what language the plugin was written in.

As for pycompiling them, IIUC the .pyc is only used if the Python being used is exactly the same version, but it doesn't hurt if it isn't, Python will just recompile it. So I don't care either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants