Description
I have a venv that I need to use with py4cl2-cffi. Up until now I have been firing up emacs/slime from a command line whose process has already done the .env/bin/activate
.
That's fairly inconvenient, I'd like to configure from lisp after lisp has started. I see in the readme the following:
However, pyvenv environments require that users set python-executable-path manually, before loading py4cl2-cffi.
I suppose the key word is 'manually'. However there needs to be a way to automate the process. Forgive the ASDF question, but is there a hook I can place on the :py4cl2-cffi/config
processing before :py4cl2-cffi
is loaded to bind *python-executable-path*
at the right time when quickloading my system? It has this declaration:
:depends-on (:alexandria :py4cl2-cffi/config :py4cl2-cffi :float-features)
If there isn't a way to add hooks to the asdf definition, do you have other ideas about how I can select the venv before py4cl2:cffi
initializes with the wrong paths?
Thanks