astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
26.73k stars 774 forks source link

Configure additional module search paths, like PYTHONPATH #9168

Open angeloc-dl opened 2 days ago

angeloc-dl commented 2 days ago

I would like to propose as enhancement to provide the capability to configure additional module search paths in pyproject.toml

I have a project which needs to look for further paths, that do not corrispond to any package.

Thanks in advance

charliermarsh commented 1 day ago

My main question is: why would this be a uv setting, rather than something you define via an environment variable, or in a .env file?