aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2020-06-02 11:06:46 +0100
committerKevin May <kevin.may@arm.com>2020-06-02 11:56:35 +0000
commit8acafd13ad2169b6edc86f5e42602ec604d39648 (patch)
tree2d9df908447dde357b8cda4c39141354e14cd26c /python
parent9ad2e5baaf8819c40416ab1e91e14f8b804ba723 (diff)
downloadarmnn-8acafd13ad2169b6edc86f5e42602ec604d39648.tar.gz
IVGCVSW-4774 Add encoding flag for reading version
* Needed for testing with CI dockers which have POSIX locale Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I0e2805cdf665274217a6cd94a6c815478c2cb402
Diffstat (limited to 'python')
-rwxr-xr-xpython/pyarmnn/setup.py2
1 files changed, 1 insertions, 1 deletions
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):