···1-commit 37c815ee660d1bf37256638d23b0346ad7cc19e7
2-Author: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>
3-Date: Wed Jul 21 00:18:30 2021 +0200
4-5- omp/setup.py: open version_information in text mode
6-7- Otherwise saving the config in setup_support.py will fail as a bytes
8- object is not encodeable as JSON. Luckily, version_information is text
9- anyways.
10-11-diff --git a/omp/setup.py b/omp/setup.py
12-index 942ab1f5..5281398e 100755
13---- a/omp/setup.py
14-+++ b/omp/setup.py
15-@@ -25,7 +25,7 @@ class GNATCollOMP(SetupApp):
16-17- # Set library version
18- with open(os.path.join(config.source_dir, '..',
19-- 'version_information'), 'rb') as fd:
20-+ 'version_information'), 'r') as fd:
21- version = fd.read().strip()
22- config.set_data('GNATCOLL_VERSION', version, sub='gprbuild')
23-