MCPcopy
hub / github.com/pyinstaller/pyinstaller / add_os_flags

Function add_os_flags

bootloader/waflib/Configure.py:220–226  ·  view source on GitHub ↗
(self, var, dest=None, dup=False)

Source from the content-addressed store, hash-verified

218
219@conf
220def add_os_flags(self, var, dest=None, dup=False):
221 try:
222 flags = shlex.split(self.environ[var])
223 except KeyError:
224 return
225 if dup or ''.join(flags) not in ''.join(Utils.to_list(self.env[dest or var])):
226 self.env.append_value(dest or var, flags)
227
228
229@conf

Callers

nothing calls this directly

Calls 2

to_listMethod · 0.80
append_valueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…