MSS
MSS copied to clipboard
Migrate project metadata from setup.py to pyproject.toml as per PEP 621.
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. - Allow
setuptoolsto read metadata automatically frompyproject.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