Skip to content

Commit bfa147e

Browse files
committed
Simplify conf.py
1 parent f32c1ca commit bfa147e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docs/source/conf.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
2+
33
"""
44
Configuration for Sphinx.
55
"""
@@ -14,12 +14,6 @@
1414

1515
import pkg_resources
1616

17-
import vws
18-
19-
sys.path.insert(0, os.path.abspath('.'))
20-
21-
key_package = vws
22-
2317
extensions = [
2418
'sphinx.ext.autodoc',
2519
'sphinx.ext.intersphinx',
@@ -55,7 +49,7 @@
5549
# The version info for the project you're documenting, acts as replacement for
5650
# |version| and |release|, also used in various other places throughout the
5751
# built documents.
58-
version = vws.__version__
52+
version = distribution.version
5953
release = version.split('+')[0]
6054

6155
substitutions = [

0 commit comments

Comments
 (0)