1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

setup.py: add commit to install version

Add the git commit ID to the installed version, if available.
This commit is contained in:
Sergei Trofimov 2018-06-14 17:23:57 +01:00 committed by setrofim
parent 7941b712c5
commit c93a1f5deb

View File

@ -27,7 +27,7 @@ except ImportError:
wa_dir = os.path.join(os.path.dirname(__file__), 'wa')
sys.path.insert(0, os.path.join(wa_dir, 'framework'))
from version import get_wa_version
from version import get_wa_version_with_commit
# happends if falling back to distutils
warnings.filterwarnings('ignore', "Unknown distribution option: 'install_requires'")
@ -62,7 +62,7 @@ scripts = [os.path.join('scripts', s) for s in os.listdir('scripts')]
params = dict(
name='wa',
description='A framework for automating workload execution and measurement collection on ARM devices.',
version=get_wa_version(),
version=get_wa_version_with_commit(),
packages=packages,
package_data=data_files,
scripts=scripts,