3 ms·
The conflicting advice is a serious problem. I hope you'll forgive me for adding one additional piece of advice: for many Python packages, the only packaging m
by woodruffw 4y ago
The conflicting advice is a serious problem.
I hope you'll forgive me for adding one additional piece of advice: for many Python packages, the only packaging metadata you need is `pyproject.toml`. You don't even need `setup.py` anymore, so long as you're using a build backend that supports editable installs with `pyproject.toml`.
Here's an example of a Python package that does everything in `pyproject.toml`[1]. You should be able to copy that into any of your projects, edit it to match your metadata, and everything will work exactly as if you have a `setup.cfg` or `setup.py`.
[1]: https://github.com/sigstore/sigstore-python https://github.com/sigstore/sigstore-python
- Hackbraten 4y agoThanks for the link!