mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-08 21:11:54 +01:00
setup.py: Use version_helper to generate devlib version
Instead of parsing the text of the file to extract the current version use the version_helper to access the newly added version tuple.
This commit is contained in:
@@ -53,10 +53,11 @@ from devlib.host import LocalConnection
|
||||
from devlib.utils.android import AdbConnection
|
||||
from devlib.utils.ssh import SshConnection, TelnetConnection, Gem5Connection
|
||||
|
||||
from devlib.utils.version import get_devlib_version, get_commit as __get_commit
|
||||
from devlib.utils.version import (get_devlib_version as __get_devlib_version,
|
||||
get_commit as __get_commit)
|
||||
|
||||
|
||||
__version__ = get_devlib_version()
|
||||
__version__ = __get_devlib_version()
|
||||
|
||||
__commit = __get_commit()
|
||||
if __commit:
|
||||
|
Reference in New Issue
Block a user