Skip to content

Commit

Permalink
Working version name
Browse files Browse the repository at this point in the history
  • Loading branch information
matlink committed May 14, 2017
1 parent 580c5b3 commit 9957e54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion gplaycli/gplaycli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
from ext_libs.googleplay_api.googleplay import LoginError
from androguard.core.bytecodes import apk as androguard_apk # Androguard
from google.protobuf.message import DecodeError
from gplaycli.version import __version__
from pkg_resources import get_distribution, DistributionNotFound

try:
__version__ = get_distribution('gplaycli').version
except DistributionNotFound:
__version__ = 'unknown: gplaycli not installed (version in setup.py)'

class GPlaycli(object):
def __init__(self, args=None, credentials=None):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
exec(open('gplaycli/version.py').read())

setup(name='GPlayCli',
version=__version__,
version='0.2.5',
description='GPlayCli, a Google play downloader command line interface',
author="Matlink",
author_email="[email protected]",
Expand Down

0 comments on commit 9957e54

Please sign in to comment.