jacebrowning / jacebrowning/template-python
Editable builds possible?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 668
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the project's pyproject.toml and reproducing the reported pip3 install -e . failure. Read PEP 660 and the linked Poetry discussion to understand the editable-install requirements. Done means the template's generated projects support editable installation, with the expected command verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100