Conan 1.27 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 12.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 12.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 681 页 | 5.55 MB | 1 年前3
Conan 1.28 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 12.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 12.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 699 页 | 5.39 MB | 1 年前3
Conan 1.29 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 12.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 12.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 703 页 | 5.41 MB | 1 年前3
Conan 1.30 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 13.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 13.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 715 页 | 5.39 MB | 1 年前3
Conan 1.31 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 13.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 13.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 721 页 | 5.41 MB | 1 年前3
Conan 1.42 Documentationdef build(self): # Responsible for␣ ˓→invoking the build system cmake = CMake(self) # Helper classes␣ ˓→are available for several build systems ... self.run("bin/unittests") # Run unit tests␣ ˓→compiled and deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 14.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 14.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes0 码力 | 841 页 | 7.12 MB | 1 年前3
Conan 1.26 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 12.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 12.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 669 页 | 5.51 MB | 1 年前3
Conan 1.36 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 13.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 13.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 765 页 | 5.71 MB | 1 年前3
Conan 1.32 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 13.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 13.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 731 页 | 5.44 MB | 1 年前3
Conan 1.33 Documentationand deterministic dependency graphs. • They are able to extend base classes more naturally without conflicts of ConanFile classes. 13.2.1 Introduction The python_requires feature is a very convenient will be 123 f = self.python_requires["other"].module.otherfunc("some-args") 13.2.2 Extending base classes A common use case would be to declare a base class with methods we want to reuse in several recipes make it available for reuse with: $ conan export . pyreq/0.1@user/channel Note that there are two classes in the recipe file: • MyBase is the one intended for inheritance and doesn’t extend ConanFile.0 码力 | 739 页 | 5.47 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













