Conan 1.8 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 458 页 | 3.03 MB | 1 年前3
Conan 1.9 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.24 Documentationdetected. 414 Chapter 16. Reference Conan Documentation, Release 1.24.1 You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, dnf, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 647 页 | 5.31 MB | 1 年前3
Conan 1.25 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, dnf, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 655 页 | 5.45 MB | 1 年前3
Conan 1.26 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, dnf, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 669 页 | 5.51 MB | 1 年前3
Conan 1.3 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.6 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": (continues elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 428 页 | 2.87 MB | 1 年前3
Conan 1.7 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil brew and pacman depending on the system we are running. from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 433 页 | 2.95 MB | 1 年前3
Conan 1.17 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil 3. conanfile.py 365 conan Documentation, Release 1.17.2 from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 567 页 | 4.53 MB | 1 年前3
Conan 1.18 Documentation“MSYS2”, “CYGWIN” or “WSL” if any of these Windows subsystems are detected. You can also use SystemPackageTool class, that will automatically invoke the right system package tool: apt, yum, pkg, pkgutil Chapter 15. Reference conan Documentation, Release 1.18.5 from conans.tools import os_info, SystemPackageTool def system_requirements(self): pack_name = None if os_info.linux_distro == "ubuntu": if os_info elif os_info.is_solaris: pack_name = "package_name_in_solaris" if pack_name: installer = SystemPackageTool() installer.install(pack_name) # Install the package, will update the package␣ ˓→database if0 码力 | 584 页 | 4.80 MB | 1 年前3
共 63 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













