当前位置: 首页>>代码示例>>Python>>正文


Python PackagerBase.__init__方法代码示例

本文整理汇总了Python中cerbero.packages.PackagerBase.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python PackagerBase.__init__方法的具体用法?Python PackagerBase.__init__怎么用?Python PackagerBase.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在cerbero.packages.PackagerBase的用法示例。


在下文中一共展示了PackagerBase.__init__方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, config, package, store):
     PackagerBase.__init__(self, config, package, store)
     self.package_prefix = ''
     self.package_prefix = self._package_prefix(self.package)
     self.full_package_name = self._full_package_name()
     self.packager = self.config.packager
     self._check_packager()
开发者ID:BigBrother-International,项目名称:gst-cerbero,代码行数:9,代码来源:linux.py

示例2: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, config, package, store):
     PackagerBase.__init__(self, config, package, store)
     self.package = package
     self.prefix = config.prefix
     self.package_prefix = ""
     if self.config.packages_prefix is not None:
         self.package_prefix = "%s-" % self.config.packages_prefix
开发者ID:RoyinRolland,项目名称:cerbero,代码行数:9,代码来源:disttarball.py

示例3: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, config, package, store):
     PackagerBase.__init__(self, config, package, store)
     self._with_wine = config.platform != Platform.WINDOWS
     self.wix_prefix = get_wix_prefix()
     # Init wix wine prefix in the case of using it.
     self.wix_wine_prefix = None
     self.tmpdir = None
开发者ID:fluendo,项目名称:cerbero,代码行数:9,代码来源:wix_packager.py

示例4: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, package, name, desc, uuid):
     self.package = Package(package.config, package.store, None)
     self.package.name = name
     self.package.shortdesc = desc
     self.package.version = package.version
     self.package.sdk_version = package.sdk_version
     self.package.uuid = uuid
     self.package.deps = []
     self.package.org = package.org
     self.package.install_dir = package.install_dir
     self.package.osx_framework_library = package.osx_framework_library
     PackagerBase.__init__(self, package.config, self.package, package.store)
开发者ID:deepak6,项目名称:cerbero,代码行数:14,代码来源:bundles.py

示例5: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, package, pkgname, desc, uuid):
     self.package = Package(package.config, package.store, None)
     self.package.name = pkgname
     self.package.shortdesc = desc
     self.package.version = package.version
     self.package.sdk_version = package.sdk_version
     self.package.uuid = uuid
     self.package.deps = []
     self.package.org = package.org
     self.package.install_dir = package.install_dir
     self.package.osx_framework_library = package.osx_framework_library
     self.package.resources_preinstall = package.resources_preinstall
     self.package.resources_postinstall = package.resources_postinstall
     self.package.__file__ = package.__file__
     PackagerBase.__init__(self, package.config, self.package, package.store)
开发者ID:MustafaMunir,项目名称:cerbero,代码行数:17,代码来源:bundles.py

示例6: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, config, package, store):
     PackagerBase.__init__(self, config, package, store)
     self._with_wine = config.platform != Platform.WINDOWS
     self.wix_prefix = get_wix_prefix()
开发者ID:itsdrpatel,项目名称:cerbero,代码行数:6,代码来源:wix_packager.py

示例7: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, config, package, store):
     PackagerBase.__init__(self, config, package, store)
开发者ID:UIKit0,项目名称:ore-infinium,代码行数:4,代码来源:packager.py

示例8: __init__

# 需要导入模块: from cerbero.packages import PackagerBase [as 别名]
# 或者: from cerbero.packages.PackagerBase import __init__ [as 别名]
 def __init__(self, config, package, store):
     PackagerBase.__init__(self, config, package, store)
     self.bundle_name = "%s-%s-%s" %(self.package.name, self.package.version, self.config.arch)
     if not hasattr(self.package, "desktop_file"):
         raise FatalError("Can not create a linux bundle if the package does "
                          "not have a 'desktop_file' property set")
开发者ID:davibe,项目名称:cerbero,代码行数:8,代码来源:linux_bundle.py


注:本文中的cerbero.packages.PackagerBase.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。