Salome HOME
relax constraint about openssl for windows - Python embeds already ssl master
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 7 May 2024 08:50:33 +0000 (10:50 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 7 May 2024 08:50:33 +0000 (10:50 +0200)
commands/compile.py

index 12cfbe6acf8e26d137571e30fc7939051684bed9..d084b2df8fbaf624a90168bbe00b407660d12dba 100644 (file)
@@ -502,7 +502,7 @@ def compile_product_pip(sat,
     :rtype: int
     '''
     # pip needs openssl-dev. If openssl is declared in the application, we check it!
-    if "openssl" in config.APPLICATION.products:
+    if "openssl" in config.APPLICATION.products and not src.architecture.is_windows():
         openssl_cfg = src.product.get_product_config(config, "openssl")
         if not src.product.check_installation(config, openssl_cfg):
             raise src.SatException(_("please install system openssl development package, it is required for products managed by pip."))