pypa/hatch

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

开放

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

 (0 条评论) (0 个反应) (0 位负责人)Python (240 个派生)batch import
good first issueneeds investigation

仓库指标

星标
 (4,451 个星标)
PR 合并指标
 (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?

贡献者指南