Skip to content

Commit c353214

Browse files
committed
get version without using pkginfo
1 parent 9559c06 commit c353214

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
import datetime
22
import os
33

4-
import pkginfo
4+
from xlrd.info import __VERSION__
55

66
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
7-
pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__), os.pardir))
87

98
intersphinx_mapping = {'http://docs.python.org': None}
109
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
1110
source_suffix = '.rst'
1211
master_doc = 'index'
1312
project = u'xlrd'
1413
copyright = '2005-%s Stephen John Machin, Lingfo Pty Ltd' % datetime.datetime.now().year
15-
version = release = pkg_info.version
14+
version = release = __VERSION__
1615
exclude_patterns = ['_build']
1716
pygments_style = 'sphinx'
1817

0 commit comments

Comments
 (0)