From 8acafd13ad2169b6edc86f5e42602ec604d39648 Mon Sep 17 00:00:00 2001 From: Kevin May Date: Tue, 2 Jun 2020 11:06:46 +0100 Subject: IVGCVSW-4774 Add encoding flag for reading version * Needed for testing with CI dockers which have POSIX locale Signed-off-by: Kevin May Change-Id: I0e2805cdf665274217a6cd94a6c815478c2cb402 --- python/pyarmnn/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/pyarmnn/setup.py b/python/pyarmnn/setup.py index 1c84e6152a..ac6ee24b5c 100755 --- a/python/pyarmnn/setup.py +++ b/python/pyarmnn/setup.py @@ -34,7 +34,7 @@ def check_armnn_version(*args): __current_dir = os.path.dirname(os.path.realpath(__file__)) -exec(open(os.path.join(__current_dir, 'src', 'pyarmnn', '_version.py')).read()) +exec(open(os.path.join(__current_dir, 'src', 'pyarmnn', '_version.py'), encoding="utf-8").read()) class ExtensionPriorityBuilder(build_py): -- cgit v1.2.1