MSS icon indicating copy to clipboard operation
MSS copied to clipboard

Migrate project metadata from setup.py to pyproject.toml as per PEP 621.

Open levi178u opened this issue 8 months ago • 0 comments

We can simplify and modernize our packaging by moving static metadata like name, version, description, and dependencies from setup.py to pyproject.toml as defined in PEP 621.

This will:

  • Make the project more standardized and tool-friendly.
  • Simplify setup.py.
  • Allowsetuptoolsto read metadata automatically from pyproject.toml.

Also, console_scripts can be declared using {} instead of dict() for better and faster performance.

References:

  • https://peps.python.org/pep-0621/
  • https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

levi178u avatar Apr 09 '25 14:04 levi178u