 Conan 1.56 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 963 页 | 7.67 MB | 1 年前3 Conan 1.56 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 963 页 | 7.67 MB | 1 年前3
 Conan 1.53 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 953 页 | 7.64 MB | 1 年前3 Conan 1.53 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 953 页 | 7.64 MB | 1 年前3
 Conan 1.54 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 953 页 | 7.65 MB | 1 年前3 Conan 1.54 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 953 页 | 7.65 MB | 1 年前3
 Conan 1.55 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 963 页 | 7.67 MB | 1 年前3 Conan 1.55 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 963 页 | 7.67 MB | 1 年前3
 Conan 1.48 Documentationcopying files and editing conan.conf can be done manually. Set up configurations: $ conan config init # Initialize Conan configuration files. If some are already␣ ˓→present, missing files only are # needed to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings +0 码力 | 913 页 | 7.52 MB | 1 年前3 Conan 1.48 Documentationcopying files and editing conan.conf can be done manually. Set up configurations: $ conan config init # Initialize Conan configuration files. If some are already␣ ˓→present, missing files only are # needed to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings +0 码力 | 913 页 | 7.52 MB | 1 年前3
 Conan 1.49 Documentationcopying files and editing conan.conf can be done manually. Set up configurations: $ conan config init # Initialize Conan configuration files. If some are already␣ ˓→present, missing files only are # needed to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings +0 码力 | 915 页 | 7.53 MB | 1 年前3 Conan 1.49 Documentationcopying files and editing conan.conf can be done manually. Set up configurations: $ conan config init # Initialize Conan configuration files. If some are already␣ ˓→present, missing files only are # needed to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings +0 码力 | 915 页 | 7.53 MB | 1 年前3
 Conan 1.50 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 923 页 | 7.55 MB | 1 年前3 Conan 1.50 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 923 页 | 7.55 MB | 1 年前3
 Conan 1.51 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 933 页 | 7.58 MB | 1 年前3 Conan 1.51 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 933 页 | 7.58 MB | 1 年前3
 Conan 1.52 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 943 页 | 7.62 MB | 1 年前3 Conan 1.52 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 943 页 | 7.62 MB | 1 年前3
 Conan 1.59 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 983 页 | 7.72 MB | 1 年前3 Conan 1.59 Documentationneeded to extend from a base class, like composing the base class settings with the current recipe, the init() method can be used for it: class PkgTest(ConanFile): license = "MIT" settings = "arch", # tuple tuple! python_requires = "base/1.1@user/testing" python_requires_extend = "base.MyConanfileBase" def init(self): base = self.python_requires["base"].module.MyConanfileBase self.settings = base.settings + tuple self.license = base.license # License is overwritten For more information about the init() method visit init() Limitations There are a few limitations that should be taken into account: • name and0 码力 | 983 页 | 7.72 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













