Transition to pyproject.toml Only | Generated by AI
Yes, exactly right. Since you have pyproject.toml, requirements.txt is redundant. Here’s the plan:
- Add
piexiftopyproject.tomlunder[project].dependencies - Delete
requirements.txt - Install with
pip install .(orpip install -e .for editable/dev mode)
pip install -e . is better for active development — changes to your source are reflected immediately without reinstalling.
If you have dev-only deps (like pyright), add them under:
[project.optional-dependencies]
dev = ["pyright"]
Then install with pip install -e ".[dev]".
So yes — remove requirements.txt, add piexif to pyproject.toml, and use pip install -e . going forward.