Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add pyproject.toml file for PEP518 compliance #1625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

nicholasjng
Copy link
Contributor

The newly created pyproject.toml contains all static metadata as well as the readme and version as dynamic arguments, to be read by setuptools during the build.

What is left in the setup.py for now is the custom Bazel extension class, since that is not properly supported yet.

Part of #1583.

pyproject.toml Outdated
keywords = ["benchmark"]

authors = [
{name = "Google", email = "[email protected]"},
Copy link
Member

Choose a reason for hiding this comment

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

why isn't this the existing benchmark discussion group?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is meant to be more of a direct point of contact to the "authors" specifically, and it needs to be an email address.

See e.g. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/#authors-maintainers

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the email in 7fdfc46.

The newly created `pyproject.toml` contains all static metadata as well
as the readme and version as dynamic arguments, to be read by setuptools
during the build.

What is left in the `setup.py` for now is the custom Bazel extension
class, since that is not properly supported yet.
@dmah42 dmah42 merged commit 16c6ad8 into google:main Jul 10, 2023
@nicholasjng nicholasjng deleted the add-pyproject-toml branch July 10, 2023 10:12
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.

2 participants