diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-10-24 10:03:06 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-10-24 10:03:06 -0400 |
commit | cc4b90df96d0c362bed5802f23dfdc5552c7bf0a (patch) | |
tree | 4f545e018bbb06b9f74877dfb58ef257f9a7f39a /docs | |
parent | 66a11081bfa8d9f873ab21ee011404262adedb2b (diff) | |
parent | 95fd34c61f8d9df2e9c559b3978c85e7d03cd8d8 (diff) | |
download | pytest-runner-cc4b90df96d0c362bed5802f23dfdc5552c7bf0a.tar.gz |
Merge with skeleton
Diffstat (limited to 'docs')
-rw-r--r-- | docs/conf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index ebc0453..fe7c018 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -import setuptools_scm +import pkg_resources extensions = [ 'sphinx.ext.autodoc', @@ -13,7 +13,7 @@ project = 'pytest-runner' copyright = '2015,2016 Jason R. Coombs' # The short X.Y version. -version = setuptools_scm.get_version(root='..', relative_to=__file__) +version = pkg_resources.require(project)[0].version # The full version, including alpha/beta/rc tags. release = version |