diff options
-rw-r--r-- | docs/conf.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py index 12d03c6..030fb1b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,10 +1,7 @@ #!/usr/bin/env python3
# -*- coding: utf-8 -*-
-import hgtools.managers
-
-# use hgtools to get the version
-hg_mgr = hgtools.managers.RepoManager.get_first_valid_manager()
+import setuptools_scm
extensions = [
'sphinx.ext.autodoc',
@@ -15,7 +12,7 @@ project = 'pytest-runner' copyright = '2015 Jason R. Coombs'
# The short X.Y version.
-version = hg_mgr.get_current_version()
+version = setuptools_scm.get_version()
# The full version, including alpha/beta/rc tags.
release = version
|