jacebrowning / jacebrowning/template-python
Editable builds possible?
オープン
まだ誰も着手していません。
- 主要言語
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まずプロジェクトの pyproject.toml を確認し、報告された pip3 install -e . の失敗を再現します。editable installation の要件を理解するため、PEP 660 とリンク先の Poetry のディスカッションを読みます。テンプレートで生成されたプロジェクトが editable installation をサポートし、想定されるコマンドが検証されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100