We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 196a1c1 commit d3506a1Copy full SHA for d3506a1
setuptools-scm/_own_version_helper.py
@@ -13,7 +13,6 @@
13
from __future__ import annotations
14
15
import os
16
-import sys
17
18
from setuptools import build_meta as build_meta
19
@@ -31,9 +30,10 @@ def scm_version() -> str:
31
30
# Note: tag_regex is currently NOT set to allow backward compatibility
32
# with existing tags. To migrate to 'setuptools-scm-' prefix, uncomment:
33
# tag_regex=r"^setuptools-scm-(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$",
34
-
+
35
# Use relative_to parent to find git root (one level up from setuptools-scm/)
36
import pathlib
37
return get_version(
38
root=pathlib.Path(__file__).parent.parent,
39
version_scheme="guess-next-dev",
0 commit comments