Ciw icon indicating copy to clipboard operation
Ciw copied to clipboard

Migrate to pyproject.toml

Open galenseilis opened this issue 10 months ago • 0 comments

While I expect that using setup.py and requirements.txt files will be supported indefinitely, I suggest we migrate to using a pyproject.toml.

Python Packaging Authority Focuses On Them

  • https://packaging.python.org/en/latest/tutorials/packaging-projects/
  • https://packaging.python.org/en/latest/guides/writing-pyproject-toml/

Modern Project Managers Use Them (by default)

  • https://docs.astral.sh/uv/guides/projects/
  • https://pdm-project.org/en/latest/
  • https://python-poetry.org/
  • https://github.com/pypa/hatch
  • https://rye.astral.sh/

My suggestion at this junction would be uv, but the core component in any case is the pyproject.toml file. This is having used Rye, PDM, and uv. I have not tried the others yet.

galenseilis avatar Apr 09 '25 03:04 galenseilis