MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Tools/c-analyzer/distutils/ccompiler.py:82–116  ·  view source on GitHub ↗
(self, verbose=0, dry_run=0, force=0)

Source from the content-addressed store, hash-verified

80 language_order = ["c++", "objc", "c"]
81
82 def __init__(self, verbose=0, dry_run=0, force=0):
83 self.dry_run = dry_run
84 self.force = force
85 self.verbose = verbose
86
87 # 'output_dir': a common output directory for object, library,
88 # shared object, and shared library files
89 self.output_dir = None
90
91 # 'macros': a list of macro definitions (or undefinitions). A
92 # macro definition is a 2-tuple (name, value), where the value is
93 # either a string or None (no explicit value). A macro
94 # undefinition is a 1-tuple (name,).
95 self.macros = []
96
97 # 'include_dirs': a list of directories to search for include files
98 self.include_dirs = []
99
100 # 'libraries': a list of libraries to include in any link
101 # (library names, not filenames: eg. "foo" not "libfoo.a")
102 self.libraries = []
103
104 # 'library_dirs': a list of directories to search for libraries
105 self.library_dirs = []
106
107 # 'runtime_library_dirs': a list of directories to search for
108 # shared libraries/objects at runtime
109 self.runtime_library_dirs = []
110
111 # 'objects': a list of object files (or similar, such as explicitly
112 # named library files) to include on any link
113 self.objects = []
114
115 for key in self.executables.keys():
116 self.set_executable(key, self.executables[key])
117
118 def set_executables(self, **kwargs):
119 """Define the executables (and options for them) that will be run

Callers

nothing calls this directly

Calls 2

set_executableMethod · 0.95
keysMethod · 0.45

Tested by

no test coverage detected