Skip to content
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

Add "Bug Tracker" and "Documentation" links to pyproject.toml #826

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

alltilla
Copy link
Contributor

@alltilla alltilla commented Jun 26, 2024

They show up on the pypi page on the left, making them easier to find.

Based on:
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#urls

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

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

It'd be better to put this metadata in pyproject.toml.

I think it'll work fine to put this there without moving anything else.

@alltilla alltilla force-pushed the pypi-bug-tracker-and-documentation-links branch from 7ec5502 to 689316d Compare June 26, 2024 12:34
@alltilla alltilla changed the title Add "Bug Tracker" and "Documentation" links to setup.py Add "Bug Tracker" and "Documentation" links to pyproject.toml Jun 26, 2024
@alltilla
Copy link
Contributor Author

Hmm it seems like starting a project block in pyproject.toml conflicts with setup.py.

py312: packaging backend failed (code=1), with ValueError: invalid pyproject.toml config: `project`.
configuration error: `project` must contain ['name'] properties

@alex
Copy link
Member

alex commented Jun 26, 2024 via email

@alltilla
Copy link
Contributor Author

Yes, I'd like to try that, but feel free to implement it yourself anytime if you need this sooner. :)

@alex
Copy link
Member

alex commented Jun 26, 2024 via email

@alex
Copy link
Member

alex commented Jul 4, 2024

We've now got a basic pyproject.toml, so you should be able to rebase on main and do this now.

@alltilla alltilla force-pushed the pypi-bug-tracker-and-documentation-links branch from 689316d to 567a6e2 Compare July 5, 2024 09:43
They show up on the pypi page on the left, making
them easier to find.

Based on:
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#urls

Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
@alltilla
Copy link
Contributor Author

alltilla commented Jul 5, 2024

Thanks, kind of you to leave the urls section to me :)

Rebased and updated the PR.

@alltilla alltilla force-pushed the pypi-bug-tracker-and-documentation-links branch from 567a6e2 to 3a32902 Compare July 5, 2024 09:46
@alex alex merged commit 96ad5f0 into pyca:main Jul 5, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants