-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
faa4127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use
setuptools_scm_git_archive
for this, which will use version info from git archive, instead of cloning a Repo.faa4127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, didn't know that. It is complimentary to the setuptools-scm? So we need to start in dvc first?
faa4127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a plugin for
setuptools_scm
.It may soon be available in
setuptools_scm
itself, there's a WIP PR in pypa/setuptools-scm#580.We do need to start using that plugin for the time being in DVC first.
faa4127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though, the question is how much do we need this? Maybe we can wait for the feature to be in setuptools_scm itself?
faa4127
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skshetry Yeah, totally can wait. Full clones are an easy workaround, no need to rush it with setuptools plugin. Other. than that hickup, everything else is working out really nice. Great job with setuptools_scm! π