Skip to content

Commit e06ce19

Browse files
authored
Merge pull request #84 from Chilipp/versioneer
install versioneer
2 parents 96c5c2e + f631218 commit e06ce19

File tree

5 files changed

+679
-4
lines changed

5 files changed

+679
-4
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
autodocsumm/_version.py export-subst

autodocsumm/__init__.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939

4040
__status__ = "Production"
4141

42-
__version__ = '0.2.9'
43-
4442
from itertools import chain
4543

4644
from sphinx.util import logging
@@ -88,6 +86,9 @@ def force_decode(string: str, encoding: str) -> str:
8886
except ImportError:
8987
from ordereddict import OrderedDict
9088

89+
from . import _version
90+
__version__ = _version.get_versions()['version']
91+
9192

9293
logger = logging.getLogger(__name__)
9394

@@ -664,3 +665,5 @@ def setup(app):
664665
app.add_config_value('document_data', True, True)
665666
app.add_config_value('not_document_data', [], True)
666667
return {'version': sphinx.__display_version__, 'parallel_read_safe': True}
668+
669+

0 commit comments

Comments
 (0)