Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a52c00
)
decode pip version
author
Guytri KASTANE
<guytri.kastane@cea.fr>
Tue, 20 Feb 2024 11:43:53 +0000
(12:43 +0100)
committer
Nabil Ghodbane
<nabil.ghodbane@cea.fr>
Tue, 20 Feb 2024 11:43:53 +0000
(12:43 +0100)
commands/compile.py
patch
|
blob
|
history
diff --git
a/commands/compile.py
b/commands/compile.py
index ded2297cc312acf04b14d97123096ed75968d20a..0368549d190ccd9cae968da2f54b9d2a3aec09b2 100644
(file)
--- a/
commands/compile.py
+++ b/
commands/compile.py
@@
-17,6
+17,7
@@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
+import sys
import re
import subprocess
import src
@@
-544,7
+545,7
@@
def compile_product_pip(sat,
shell=True,
cwd=config.LOCAL.workdir,
env=build_environ.environ.environ,
- stderr=subprocess.STDOUT).strip()
+ stderr=subprocess.STDOUT).
decode(sys.stdout.encoding).
strip()
pip_build_options=int(res_pip_version.split('.')[0]) < 21
except:
pip_build_options= True