MCPcopy Create free account
hub / github.com/numpy/numpy / _commandline_dep_string

Function _commandline_dep_string

numpy/distutils/misc_util.py:582–591  ·  view source on GitHub ↗

Return commandline representation used to determine if a file needs to be recompiled

(cc_args, extra_postargs, pp_opts)

Source from the content-addressed store, hash-verified

580 return direcs
581
582def _commandline_dep_string(cc_args, extra_postargs, pp_opts):
583 """
584 Return commandline representation used to determine if a file needs
585 to be recompiled
586 """
587 cmdline = 'commandline: '
588 cmdline += ' '.join(cc_args)
589 cmdline += ' '.join(extra_postargs)
590 cmdline += ' '.join(pp_opts) + '\n'
591 return cmdline
592
593
594def get_dependencies(sources):

Callers 2

UnixCCompiler__compileFunction · 0.90
_needs_buildFunction · 0.90

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected