Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self):

setuptools.setup(
name='wavefront-cli',
version='0.1.3',
version='0.1.4',
description='VMware Aria Operations for Applications CLI Utility.',
long_description=long_description,
url='https://github.com/wavefrontHQ/wavefront-cli',
Expand Down
6 changes: 3 additions & 3 deletions wavefront_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Initialize wavefront cli version."""

import pkg_resources
import importlib.metadata

__version__ = None

try:
__version__ = pkg_resources.get_distribution('wavefront-cli').version
except pkg_resources.DistributionNotFound:
__version__ = importlib.metadata.version('wavefront-cli')
except importlib.metadata.PackageNotFoundError:
# __version__ is only available when the distribution is installed.
pass
Loading