Skip to content

Commit 89b3ca6

Browse files
author
Ryan Faircloth
authored
Merge pull request #38 from splunk/fix/version
test versioneer
2 parents b11e19f + e828cf9 commit 89b3ca6

File tree

6 files changed

+2359
-2
lines changed

6 files changed

+2359
-2
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ include README.rst
33
recursive-include pytest_splunk_addon *.json *.py *.txt
44
recursive-exclude * __pycache__
55
recursive-exclude * *.py[co]
6+
include versioneer.py
7+
include pytest_splunk_addon/_version.py

pytest_splunk_addon/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
__author__ = """Splunk Inc."""
55
__email__ = "[email protected]"
66
__version__ = "0.1.0"
7+
8+
from ._version import get_versions
9+
__version__ = get_versions()['version']
10+
del get_versions

0 commit comments

Comments
 (0)