(self)
| 201 | return self.copy_file(header, install_dir) |
| 202 | |
| 203 | def run(self): |
| 204 | hdrs = self.distribution.headers |
| 205 | if not hdrs: |
| 206 | return |
| 207 | |
| 208 | self.mkpath(self.install_dir) |
| 209 | for header in hdrs: |
| 210 | (out, _) = self.mkdir_and_copy_file(header) |
| 211 | self.outfiles.append(out) |
| 212 | |
| 213 | def get_inputs(self): |
| 214 | return self.distribution.headers or [] |