pypa/hatch

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

Open

#1,963 创建于 2025年4月28日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (240 fork)batch import
good first issueneeds investigation

仓库指标

Star
 (4,451 star)
PR 合并指标
 (平均合并 71天 21小时) (30 天内合并 10 个 PR)

描述

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?

贡献者指南