pypa/hatch

PEP723: Using `--system-site-packages`

Open

#1,963 建立於 2025年4月28日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (4,451 star) (240 fork)batch import
good first issueneeds investigation

描述

This may be more general issue, but how would we define that we want the venv to have --system-site-packages passed? For hatch frontend, maybe the closest would be to add

[tool.hatch.envs.default]
system-site-packages = true

and similarly for each frontend? Would adding that be accounted for in hatch run?

貢獻者指南