The pyenv-virtualenv AUR package install the plugin under /usr/share/pyenv/plugins.
This works correctly. I can do pyenv virtualenv, pyenv virtualenv-delete and the other commands without problems.
I've tried to install pyenv-jupyter-kernel under /usr/share/pyenv/plugins as well (since I wanted to package it for the AUR).
While I can do pyenv register-kernel without problems, pyenv-jupyter-kernel also register some hooks for install and uninstall that should install and uninstall corresponding jupyter kernels when a new virtualenv is created.
While those hooks work when installing pyenv-jupyter-kernel under $(pyenv root)/plugins, they don't work when installing under /usr/share/pyenv/plugins.
So I guess pyenv-virtualenv is not registering hooks when plugins are installed in that folder?
Prerequisite
Description
The pyenv-virtualenv AUR package install the plugin under
/usr/share/pyenv/plugins.This works correctly. I can do
pyenv virtualenv,pyenv virtualenv-deleteand the other commands without problems.I've tried to install pyenv-jupyter-kernel under
/usr/share/pyenv/pluginsas well (since I wanted to package it for the AUR).While I can do
pyenv register-kernelwithout problems,pyenv-jupyter-kernelalso register some hooks forinstallanduninstallthat should install and uninstall corresponding jupyter kernels when a new virtualenv is created.While those hooks work when installing
pyenv-jupyter-kernelunder$(pyenv root)/plugins, they don't work when installing under/usr/share/pyenv/plugins.So I guess
pyenv-virtualenvis not registering hooks when plugins are installed in that folder?Prerequisite
pyenv-virtualenvplugin only. Please refrain from reporting issues of other plugins here.Description