pypa / readme_renderer

Safely render long_description/README files in Warehouse
Apache License 2.0
158 stars 88 forks source link

PEP 621 added #293

Closed apurvakhatri closed 10 months ago

apurvakhatri commented 10 months ago

Issue number of the reported bug or feature request: #284

Describe your changes Read PEP 621 Documentation and migrated metadata from setup.py to pyproject.toml. project table contains the static fields whereas version and classifiers are added dynamic fields as per PEP 621.

Testing performed python3 setup.py bdist and twine check dist/ ran successfully. OS: MacOS 13.3.1

Additional context .toml does not support reusing of variables (https://github.com/toml-lang/toml/issues/829) therefore it was difficult to migrate copyright, which uses author.