Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make default tidy3d dir configurable via environment variables #1131

Closed
yaugenst opened this issue Aug 29, 2023 · 1 comment
Closed

Make default tidy3d dir configurable via environment variables #1131

yaugenst opened this issue Aug 29, 2023 · 1 comment

Comments

@yaugenst
Copy link
Contributor

I am trying to run tidy3d on serverless containers (e.g. Google Cloud Run). These containers have read-only file systems, with only /tmp/ being writable. It would be nice if tidy3d's base/config directory could be configured via an environment variable such as TIDY3D_DIR.

Going a bit further, do you think it would be a good idea for tidy3d to adopt the XDG base directory specification, which would mean putting tidy3d's configuration in $HOME/.config/tidy3d/ by default? Resolving config directory via some precedence rules would also be cool, but probably overkill (see, e.g., how conda does it).

@tylerflex
Copy link
Collaborator

closing this as seems fixed by #1132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants