jacebrowning / jacebrowning/template-python
Editable builds possible?
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 668
- 派生
- 100
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
Is it possible to use `pip3 install -e .` with these projects? When I try I get an error:
```
Defaulting to user installation because normal site-packages is not writeable
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /home/russ/repos/xxxxxx
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)
```
What's the best way to go about getting this to work?
Edit: should have researched a bit more: https://github.com/python-poetry/poetry/discussions/1135#discussioncomment-145763
and more importantly: https://www.python.org/dev/peps/pep-0660/
Cheers.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查项目的 pyproject.toml,并重现报告的 pip3 install -e . 失败问题。阅读 PEP 660 和链接的 Poetry 讨论,以了解可编辑安装的要求。当模板生成的项目支持可编辑安装,并且预期命令已得到验证时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100