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

Replace hardcoded defaults with standard environment variables #44

Open
quattro opened this issue Feb 28, 2024 · 1 comment
Open

Replace hardcoded defaults with standard environment variables #44

quattro opened this issue Feb 28, 2024 · 1 comment

Comments

@quattro
Copy link

quattro commented Feb 28, 2024

Hi 👋 ,

thanks for the nice extension library for hatch. I'm getting started using it for an academic project, but noticed that the default include and library paths point to some homebrew directories that dont necessarily exist. I -think- (?) I can override these using my own conda paths, but it would be nice to have the default pull from envvars (e.g., LDPATH, etc).

@joshua-auchincloss
Copy link
Owner

Hi 👋 ,

thanks for the nice extension library for hatch. I'm getting started using it for an academic project, but noticed that the default include and library paths point to some homebrew directories that dont necessarily exist. I -think- (?) I can override these using my own conda paths, but it would be nice to have the default pull from envvars (e.g., LDPATH, etc).

Hey! Thanks for the feedback 🙂 The default include paths (and all include paths directly controlled by this lib) are actually checked for existence. In addition, all standard env vars are actually pulled and merged or overridden from env vars, as well as supported in configuration.

Let me know if this doesn't fit the use case you're describing, otherwise I think I'm alr doing what you're asking so I'll go ahead and close 😋

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