diff --git a/setup.py b/setup.py index 8db1319a3c..a7387ef0bb 100755 --- a/setup.py +++ b/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', diff --git a/trezorctl b/trezorctl index 1428d8f18f..b5a1add7a8 100755 --- a/trezorctl +++ b/trezorctl @@ -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 diff --git a/trezorlib/__init__.py b/trezorlib/__init__.py index e69de29bb2..897518a546 100644 --- a/trezorlib/__init__.py +++ b/trezorlib/__init__.py @@ -0,0 +1 @@ +__version__ = '0.8.0a3' diff --git a/trezorlib/version.py b/trezorlib/version.py deleted file mode 100644 index b377742a76..0000000000 --- a/trezorlib/version.py +++ /dev/null @@ -1 +0,0 @@ -VERSION = '0.8.0a1'