Closed KOLANICH closed 5 years ago
@KOLANICH where's the version set?
The latest git tag on the branch is a version. It should look like a version.
@KOLANICH The version needs to be correctly propagated into the code, as it's used in a couple of places there. Also, how will this work if someone uses a github archive?
The version needs to be correctly propagated into the code
It is possible to parse it from the metadata using pkg_resources
.
Also, how will this work if someone uses a github archive?
No, since it is taken from git. If an archive doesn't contain whole git repo with .git
dir, or if there is no git in the system where build is done, it will fail hard. Though IMHO it is not an issue: git is present in all devs` machines today.
Mandating git
as a build dependency is not acceptable. Sorry. That said, I do have an alternative fix that I can push.
Fixes: #20