1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

Version moved from version.py to __init__.py

This commit is contained in:
slush 2017-12-02 18:48:44 +01:00
parent 59ef832424
commit f5c1587396
4 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ if '--disable-hidapi' in sys.argv:
else:
install_requires.append('hidapi>=0.7.99.post20')
from trezorlib.version import VERSION
from trezorlib import __version__ as VERSION
setup(
name='trezor',

View File

@ -117,7 +117,7 @@ def ls(transport_name):
@cli.command(name='version', help='Show version of trezorctl/trezorlib.')
@click.pass_obj
def version(_):
from trezorlib.version import VERSION
from trezorlib import __version__ as VERSION
return VERSION

View File

@ -0,0 +1 @@
__version__ = '0.8.0a3'

View File

@ -1 +0,0 @@
VERSION = '0.8.0a1'