Skip to content

Commit 5086c27

Browse files
committed
use setuptools_scm, not get_version
1 parent 3c92495 commit 5086c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scanpydoc/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from textwrap import indent
66
from typing import Any, Dict
77

8-
from get_version import get_version
8+
from setuptools_scm import get_version
99
from sphinx.application import Sphinx
1010

1111

12-
__version__ = get_version(__file__)
12+
__version__ = get_version(root='..', relative_to=__file__)
1313

1414
metadata = dict(version=__version__, env_version=1, parallel_read_safe=True)
1515

0 commit comments

Comments
 (0)