-
Notifications
You must be signed in to change notification settings - Fork 14
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 a virtual environment #212
Comments
can we do this with a compiled boost.python? great if true. |
From what I can tell, yes. We just have to tweak how we hold it |
then that is extremely valuable / powerful. |
We have a few curveballs to contend with. First, Second, there doesn't seem to be a way to manipulate the module search path list in the way we need without replacing it outright. This means that we need to populate the list with the default system module search paths before we add our own. For Python 3.8, 3.9, and 3.10, this is fairly straightforward, as we can call The documentation for One solution might be to initialize the interpreter with a mostly-default configuration, slurp |
Supporting a virtual environment would allow the python plugin to use a different set of modules than are installed in the system's site-packages. This would allow iRODS to make use of newer or different versions of modules that would otherwise be provided by the distro repositories, without causing problems for the distro's package manager. We should implement optional support for python virtual environments. This will require some new configuration options for the plugin.
Prerequisite: #211
Relevant documentation:
The text was updated successfully, but these errors were encountered: