Skip to content

Commit 92eddc0

Browse files
committed
Set setuptools scm fallback version.
Sometimes such as downloading code directly without git repo, python packaging will fail as setup tools failed to determined the version, to avoid such failure, we need to add an fallback version for it. PR: USTC-KnowledgeComputingLab/qmb#32 Signed-off-by: Hao Zhang <[email protected]>
2 parents bac588c + 607edec commit 92eddc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ qmb = ["*.cpp", "*.cu"]
6464
[tool.setuptools_scm]
6565
version_file = "qmb/_version.py"
6666
version_scheme = "no-guess-dev"
67+
fallback_version = "0.0.0"
6768

6869
[tool.yapf]
6970
based_on_style = "google"

0 commit comments

Comments
 (0)