Run setup.py explicitly with python3 to get version when freezing

Closes #12831
(grafted from 7a8b1987503801d213f9de2b4c986bbc9166a1fa)

--HG--
branch : 6.0
This commit is contained in:
Maxime Richez committed 2023-12-23 02:06:45 +01:00
1 parent 5cbd91118c
commit 80cff291b3
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ if os.path.exists(ssl_paths.openssl_capath):
(ssl_paths.openssl_capath, os.path.join('etc', 'ssl', 'certs')))
version = Popen(
'./setup.py --version', stdout=PIPE, shell=True, encoding='utf-8'
'python3 ./setup.py --version', stdout=PIPE, shell=True, encoding='utf-8'
).stdout.read()
version = version.strip()