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

Use pyproject.toml for setuptools config #55

Merged
merged 8 commits into from
Jun 5, 2024

Conversation

michael-the1
Copy link
Collaborator

Use pyproject.toml for setuptools config

pyproject.toml Outdated
@@ -2,6 +2,34 @@
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]~=6.0"]
build-backend = "setuptools.build_meta"

[project]
name = "diepvries"
version = "0.9.2"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be a dynamic attribute, as the version is computed with git tags and setuptools_scm, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, definitely. I also bumped the minimum setuptools and setuptools_scm version as per https://github.com/pypa/setuptools_scm?tab=readme-ov-file#pyprojecttoml-usage

Copy link
Collaborator

@matthieucan matthieucan left a comment

Choose a reason for hiding this comment

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

Could you also update the information in CONTRIBUTING.md which references setup.py?

pyproject.toml Outdated Show resolved Hide resolved
@michael-the1 michael-the1 requested a review from matthieucan June 4, 2024 10:14
Copy link
Member

@dlouseiro dlouseiro left a comment

Choose a reason for hiding this comment

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

Works like a charm for me! Good to go

@dlouseiro dlouseiro mentioned this pull request Jun 4, 2024
pyproject.toml Outdated Show resolved Hide resolved
@michael-the1 michael-the1 requested a review from matthieucan June 5, 2024 08:28
@michael-the1 michael-the1 dismissed matthieucan’s stale review June 5, 2024 08:28

Fixed pyproject.toml

Copy link
Collaborator

@matthieucan matthieucan left a comment

Choose a reason for hiding this comment

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

🚀

@dlouseiro dlouseiro merged commit 2be9826 into PicnicSupermarket:master Jun 5, 2024
3 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.

3 participants