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

Support Python virtual envs with OSC Plugins #759

Open
crazyscientist opened this issue Mar 6, 2020 · 3 comments
Open

Support Python virtual envs with OSC Plugins #759

crazyscientist opened this issue Mar 6, 2020 · 3 comments

Comments

@crazyscientist
Copy link
Contributor

The function for loading plugins looks exclusively in 4 directories. This has multiple disadvantages:

  • Using plugins with different Python versions
  • OSC plugins are ripped out of the Python libraries

So I propose:

  1. osc_plugins to be a proper Python module/package
  2. Discovery and import of plugins to honor Python's import/discovery mechanism
@marcus-h
Copy link
Member

marcus-h commented Mar 6, 2020 via email

@crazyscientist
Copy link
Contributor Author

I see you like my proposal. If you ask me "proper or old/hacky", I'd choose "proper" 😉

@crazyscientist
Copy link
Contributor Author

I would like to raise the priority on this issue.

With the introduction of the class-based commands (see 26a8fb1) , osc in a virtualenv cannot load plugins!

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

No branches or pull requests

2 participants