wide-midnight-78598
05/13/2024, 12:50 PMdist allowed to be overridden on a per-goal basis?
To me, something like pants export --out [wherever-my-default-is] would make sense, rather than needing to re-configure my IDE settings or workspace settings because I'm using pants.dazzling-elephant-33766
05/13/2024, 2:04 PM.venv because that’s where most developers expect to find it
rm -rf dist/export/python
pants export --resolve=python-default
ln -s dist/export/python/virtualenvs/python-default/3* .venvcurved-television-6568
05/13/2024, 2:39 PMpants --pants-distdir=.venv export ...
i.e. you can set it per invocation already..dazzling-elephant-33766
05/13/2024, 2:47 PMWrote mutable virtualenv for python-default (using Python 3.11.8) to .venv/export/python/virtualenvs/python-default/3.11.8
I’d expect a .venv/bin/activatewide-midnight-78598
05/13/2024, 2:54 PMit's a global option, so that may be a non-starter for some use cases (i.e. pantsd may restart everytime you change a global option valueYeah, exactly, that's kinda weird. But, it's also infrequent enough to not matter for most of my purposes. But... Weird. However, with big enough repos, this restart is like a minute on my machine. I've setup a
pants venv alias to see how it actually feels to use in practice - and then I'm looking at auto-updating the .vscode settings so that they work together (in an alias/pipe situation)
So could end up as pants export --vscode or something more crazy