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

Switch to using setuptools_scm #167

Open
blag opened this issue Oct 5, 2023 · 1 comment
Open

Switch to using setuptools_scm #167

blag opened this issue Oct 5, 2023 · 1 comment

Comments

@blag
Copy link
Contributor

blag commented Oct 5, 2023

Switch to using setuptools_scm to handle versioning.

Context

Context is here.

@WhyNotHugo
Copy link
Member

I'll switch to pyproject.toml before doing this.

Mostly, we can generate a file with the version via:

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]

[tool.setuptools_scm]
write_to = "user_sessions/version.py"
version_scheme = "post-release"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants