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

Add versioning support for git archives #42

Closed
Saransh-cpp opened this issue Aug 14, 2024 · 2 comments · Fixed by #44
Closed

Add versioning support for git archives #42

Saransh-cpp opened this issue Aug 14, 2024 · 2 comments · Fixed by #44
Assignees

Comments

@Saransh-cpp
Copy link
Member

Given that we are using hatch-vcs (in both the project and the template), the following two files should be added in to support versioning from VCS for a user installing the project through a git archive -

  • .git_archival.txt (example (can be copied entirely))
  • .gitattributes (example (can be copied entirely))
@santacodes
Copy link
Collaborator

@Saransh-cpp does that apply only for hatch-vcs or also for setuptools config?

@Saransh-cpp
Copy link
Member Author

Just saw this, for all vcs configs, independent of the backend.

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 a pull request may close this issue.

2 participants