Skip to content

Dynamic version doesn't apply to wheel #3752

Answered by roysmith
roysmith asked this question in Q&A
Discussion options

You must be logged in to vote

Answer: #3752 (reply in thread)

Yup, that was it. No VERSION in the tar file. I updated my pyproject.toml:

[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

...

[tool.setuptools_scm]

and reran the build. Still no VERSION in the tar :-( Then I actually committed the VERSION file to git, and now I've got VERSION in the tar file and the whl file is properly named:

-rw-r--r--  1 roy  staff  13828 Jan  6 15:00 dyk_tools-0.0.1-py3-none-any.whl
-rw-r--r--  1 roy  staff  12332 Jan  6 15:00 dyk_tools-0.0.1.tar.gz

Thanks for your help!

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@roysmith
Comment options

@abravalheri
Comment options

Comment options

You must be logged in to vote
2 replies
@webknjaz
Comment options

@roysmith
Comment options

Answer selected by abravalheri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants