Hi everyone! I'm Stephen. I currently work at Char...
# welcome
k
Hi everyone! I'm Stephen. I currently work at Charge Robotics helping build factories for solar construction. Previously, I spent a number of years at Google, so naturally, I was excited to find a familiar build system that has great python support. Currently, I'm using Pants to generate python distributions to share code between repositories and PEX binaries to reduce the size of Docker images. I considered using it for codegen too, but I couldn't figure out a way to make that work with VS Code test explorer and Jupyter notebooks, so this is being done separately for now.
❤️ 1
👏 3
👋 3
👋🏻 1
f
fyi there is a non-default option to export codegen sources via
pants export
when exporting a Python venv for a resolve: https://www.pantsbuild.org/stable/reference/goals/export#py_generated_sources_in_resolve
(You would then point VSCode at the exported venv.)
and welcome!
k
oh nice! I'll have to try that out, thanks!