本文整理匯總了Python中distutils.command.build_ext.build_ext.initialize_options方法的典型用法代碼示例。如果您正苦於以下問題:Python build_ext.initialize_options方法的具體用法?Python build_ext.initialize_options怎麽用?Python build_ext.initialize_options使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類distutils.command.build_ext.build_ext
的用法示例。
在下文中一共展示了build_ext.initialize_options方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: initialize_options
# 需要導入模塊: from distutils.command.build_ext import build_ext [as 別名]
# 或者: from distutils.command.build_ext.build_ext import initialize_options [as 別名]
def initialize_options(self):
old_build_ext.initialize_options(self)
self.fcompiler = None
self.parallel = None
示例2: initialize_options
# 需要導入模塊: from distutils.command.build_ext import build_ext [as 別名]
# 或者: from distutils.command.build_ext.build_ext import initialize_options [as 別名]
def initialize_options(self):
old_build_ext.initialize_options(self)
self.fcompiler = None
示例3: initialize_options
# 需要導入模塊: from distutils.command.build_ext import build_ext [as 別名]
# 或者: from distutils.command.build_ext.build_ext import initialize_options [as 別名]
def initialize_options(self):
self.disable_platform_guessing = None
self.add_imaging_libs = ""
build_ext.initialize_options(self)
for x in self.feature:
setattr(self, 'disable_%s' % x, None)
setattr(self, 'enable_%s' % x, None)
示例4: initialize_options
# 需要導入模塊: from distutils.command.build_ext import build_ext [as 別名]
# 或者: from distutils.command.build_ext.build_ext import initialize_options [as 別名]
def initialize_options(self):
_build_ext.initialize_options(self)
self.define = None
self.symengine_dir = None
self.generator = None
self.build_type = "Release"
示例5: initialize_options
# 需要導入模塊: from distutils.command.build_ext import build_ext [as 別名]
# 或者: from distutils.command.build_ext.build_ext import initialize_options [as 別名]
def initialize_options(self):
build_ext.initialize_options(self)
self.direct_access = True
self.large_objects = True
self.default_vars = True
self.escaping_funcs = pg_version[0] >= 9
if pg_version < (9, 0):
warnings.warn("PygreSQL does not support this PostgreSQL version.")