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

Request: read version from .git_archival.txt #194

Open
whitequark opened this issue Sep 3, 2023 · 0 comments
Open

Request: read version from .git_archival.txt #194

whitequark opened this issue Sep 3, 2023 · 0 comments

Comments

@whitequark
Copy link

When you generate an archive from a release using git archive (or download it from GitHub), there is no .git and tags are not available. However, it is possible to get git archive to put the necessary information into a file with substitutions defined, .git_archival.txt, as used in setuptools_scm.

Would it be possible to implement the same mechanism in pdm-backend? This is the only item holding off my migration from setuptools build backend at the moment.

whitequark added a commit to whitequark/amaranth that referenced this issue Sep 12, 2023
`.git_archival.txt` and the functionality of deriving SCM version
from a GitHub generated archive is removed pending implementation of
pdm-project/pdm-backend#194.
github-merge-queue bot pushed a commit to amaranth-lang/amaranth that referenced this issue Sep 12, 2023
`.git_archival.txt` and the functionality of deriving SCM version
from a GitHub generated archive is removed pending implementation of
pdm-project/pdm-backend#194.
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

No branches or pull requests

1 participant