MCPcopy
hub / github.com/Nuitka/Nuitka / getCompileTimeFilename

Method getCompileTimeFilename

nuitka/nodes/ModuleNodes.py:151–162  ·  view source on GitHub ↗

The compile time filename for the module. Returns: Full path to module file at compile time. Notes: We are getting the absolute path here, since we do not want to have to deal with resolving paths at all.

(self)

Source from the content-addressed store, hash-verified

149 return None
150
151 def getCompileTimeFilename(self):
152 """The compile time filename for the module.
153
154 Returns:
155 Full path to module file at compile time.
156 Notes:
157 We are getting the absolute path here, since we do
158 not want to have to deal with resolving paths at
159 all.
160
161 """
162 return os.path.abspath(self.source_ref.getFilename())
163
164 def getCompileTimeDirectory(self):
165 """The compile time directory for the module.

Callers 14

getRunTimeFilenameMethod · 0.95
getSourceCodeMethod · 0.80
getLocalsDictHandleFunction · 0.80
checkModulePathFunction · 0.80
getImplicitImportsMethod · 0.80
onModuleCompleteSetMethod · 0.80
_considerDataFilesMethod · 0.80

Calls 1

getFilenameMethod · 0.45

Tested by

no test coverage detected