Hello,
I have a python_interpreter set in settings pointing to some virtualenv.
How can I configure build system to use the python_interpreter path (except writing it twice) ?
Thanks
Hello,
I have a python_interpreter set in settings pointing to some virtualenv.
How can I configure build system to use the python_interpreter path (except writing it twice) ?
Thanks
Build systems can’t expand arbitrary settings by default, so you would need to make a custom build target (i.e. a plugin with a WindowCommand
in it) to be able to do something like this.
Did you add the setting for some other package that you’re using?
yes python_interpreter is needed/looked for byr some plugins like anaconda (linting, autocompletion, …).
I’m doing a plugin to autoset python interpreter according to the used virtualenv (it’s using the new python poetry library) so I was thinking it could be good to have built system set.
A the end I have 2 possibilities : make a custom built target (thank you for your answer) or set the built system at the same time that “python_interpreter”.