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

BLD: use pyproject.toml not setup.py #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ev-br
Copy link
Contributor

@ev-br ev-br commented Feb 3, 2025

While at it, remove versioneer and use setuptools_scm for computing the version dynamically.
This change is mainly because I did not manage to make versioneer work with pyproject.toml, while setuptools_scm "just worked" (well, nearly).

Likely closes #89 (not sure what is the greyskull story in that issue though).

@ev-br ev-br requested review from asmeurer and rgommers February 3, 2025 16:47
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

This all LGTM. All these dynamic versioning tools aren't great, but setuptools_scm is certainly an improvement over versioneer (most projects I know moved away from versioneer by now).

pyproject.toml Show resolved Hide resolved
While at it, remove versioneer and use setuptools_scm
for computing the version dynamically.
This change is mainly because I did not manage to make
versioneer work with pyproject.toml, while setuptools_scm
"just worked" (well, nearly).
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.

Add a pyproject.toml and some guidance around backwards compatibility
2 participants