本文整理汇总了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.")