mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
Version moved from version.py to __init__.py
This commit is contained in:
parent
59ef832424
commit
f5c1587396
2
setup.py
2
setup.py
@ -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',
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
__version__ = '0.8.0a3'
|
@ -1 +0,0 @@
|
||||
VERSION = '0.8.0a1'
|
Loading…
Reference in New Issue
Block a user