| 217 | extra_f90_compile_args = [] |
| 218 | |
| 219 | def __init__(self, *args, **kw): |
| 220 | CCompiler.__init__(self, *args, **kw) |
| 221 | self.distutils_vars = self.distutils_vars.clone(self._environment_hook) |
| 222 | self.command_vars = self.command_vars.clone(self._environment_hook) |
| 223 | self.flag_vars = self.flag_vars.clone(self._environment_hook) |
| 224 | self.executables = self.executables.copy() |
| 225 | for e in self._executable_keys: |
| 226 | if e not in self.executables: |
| 227 | self.executables[e] = None |
| 228 | |
| 229 | # Some methods depend on .customize() being called first, so |
| 230 | # this keeps track of whether that's happened yet. |
| 231 | self._is_customised = False |
| 232 | |
| 233 | def __copy__(self): |
| 234 | obj = self.__new__(self.__class__) |