Set encoding to version subprocess for freezing
issue11207 review376661002
This commit is contained in:
+2
-1
@@ -118,7 +118,8 @@ if os.path.exists(ssl_paths.openssl_capath):
|
||||
(ssl_paths.openssl_capath, os.path.join('etc', 'ssl', 'certs')))
|
||||
|
||||
version = Popen(
|
||||
'python setup.py --version', stdout=PIPE, shell=True).stdout.read()
|
||||
'python setup.py --version', stdout=PIPE, shell=True, encoding='utf-8'
|
||||
).stdout.read()
|
||||
version = version.strip()
|
||||
|
||||
setup(name='tryton',
|
||||
|
||||
Reference in New Issue
Block a user