我们从Python开源项目中,提取了以下25个代码示例,用于说明如何使用distutils.command.build_ext.build_ext.initialize_options()。
def initialize_options(self): _install.initialize_options(self) # PRIVATE_BUILD set in the environment tells us to put the build # directory into the .pyc files, rather than the final # installation directory. private_build = os.getenv("PRIVATE_BUILD", None) if private_build is None: self.install_lib = py_install_dir self.install_data = os.path.sep self.root = root_dir else: self.install_lib = os.path.join(root_dir, py_install_dir) self.install_data = root_dir # This is used when installing scripts, below, but it isn't a # standard distutils variable. self.root_dir = root_dir
def initialize_options(self): self.only = "" self.baselinefile = "" self.verbosemode = 0 self.parseable = 0 self.genbaseline = 0 self.timing = 0 self.coverage = 0 self.stoponerr = 0 self.debugoutput = 0 self.showonexpectedfail = 0 self.startattest = "" self.archivedir = "" self.port = 12001 self.jobs = 1 self.quiet = False self.livesystem = False
def initialize_options(self): old_build_ext.initialize_options(self) self.fcompiler = None self.parallel = None
def initialize_options(self): self.build_base = 'build' self.test_dir = 'test'
def initialize_options(self): pass
def initialize_options(self): build.initialize_options(self) self.static = None
def initialize_options(self): build_ext.initialize_options(self) self.static = None
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.")
def initialize_options(self): _build_ext.initialize_options(self) self.external_fastjet = False
def initialize_options(self): _install.initialize_options(self) self.external_fastjet = False
def initialize_options(self): self.file = None self.dest = None self.mode = None
def initialize_options(self): _build_ext.initialize_options(self) self.build64 = False if osname == 'sunos': self.compiler = 'myunix'
def initialize_options(self): _clean.initialize_options(self) self.build_base = build_dir