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:
1 parent
5cbd91118c
commit
80cff291b3
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user