lmstudio-ai / venvstacks

Virtual environment stacks for Python
https://lmstudio-ai.github.io/venvstacks/
MIT License
1 stars 0 forks source link

Include default command settings in stack config file #29

Open ncoghlan opened 1 week ago

ncoghlan commented 1 week ago

There are several locking, build, and publishing settings which could reasonably be considered part of the stack specification:

While settings these globally or per-user doesn't necessarily make sense (although #20 would allow that to some degree), it does make sense to allow the stack specification file to include a [config] section which changes the default values used for various settings.

https://maxb2.github.io/typer-config/latest/ may be a useful dependency to consider for this purpose (as this idea would be similar to the "pyproject.toml section" approach described in https://maxb2.github.io/typer-config/latest/examples/pyproject/ )