File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def run(self):
3333
3434setuptools .setup (
3535 name = 'wavefront-cli' ,
36- version = '0.1.3 ' ,
36+ version = '0.1.4 ' ,
3737 description = 'VMware Aria Operations for Applications CLI Utility.' ,
3838 long_description = long_description ,
3939 url = 'https://github.com/wavefrontHQ/wavefront-cli' ,
Original file line number Diff line number Diff line change 11"""Initialize wavefront cli version."""
22
3- import pkg_resources
3+ import importlib . metadata
44
55__version__ = None
66
77try :
8- __version__ = pkg_resources . get_distribution ('wavefront-cli' ). version
9- except pkg_resources . DistributionNotFound :
8+ __version__ = importlib . metadata . version ('wavefront-cli' )
9+ except importlib . metadata . PackageNotFoundError :
1010 # __version__ is only available when the distribution is installed.
1111 pass
You can’t perform that action at this time.
0 commit comments