Skip to content

Conversation

apurvakhatri
Copy link
Contributor

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 (toml-lang/toml#829) therefore it was difficult to migrate copyright, which uses author.

Signed-off-by: apurvakhatri <[email protected]>
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coming along nicely, thanks for working through this! I've added some notes inline - let me know if anything is unclear!

apurvakhatri added 2 commits August 25, 2023 19:21
apurvakhatri added 2 commits August 26, 2023 23:29
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work so far!

I inspected the packaged metadata from the changed code and compared it to the existing and found a couple of last changes that I think need to be addressed before we can merge this.

Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with these changes.
@di care to take another pass?

Copy link
Member

@di di left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@di di merged commit b509830 into pypa:main Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants