Does anyone know of a way to reliably expose Pants...
# general
a
Does anyone know of a way to reliably expose Pants's own Python environment (for IDE integration when writing plugins)? I see it under a cache key in
~/.cache/nce
, but would like to see if there's a way to get that information out of Pants more formally
r
you could define a user resolve using
pants_requirements()
directive in BUILD. https://github.com/lablup/backend.ai/blob/main/tools/pants-plugins/BUILD
pants export
it and use it as the IDE venv.
a
That worked perfectly, thank you!