We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9559c06 commit c353214Copy full SHA for c353214
docs/conf.py
@@ -1,18 +1,17 @@
1
import datetime
2
import os
3
4
-import pkginfo
+from xlrd.info import __VERSION__
5
6
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
7
-pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__), os.pardir))
8
9
intersphinx_mapping = {'http://docs.python.org': None}
10
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
11
source_suffix = '.rst'
12
master_doc = 'index'
13
project = u'xlrd'
14
copyright = '2005-%s Stephen John Machin, Lingfo Pty Ltd' % datetime.datetime.now().year
15
-version = release = pkg_info.version
+version = release = __VERSION__
16
exclude_patterns = ['_build']
17
pygments_style = 'sphinx'
18
0 commit comments