(self)
| 316 | """ |
| 317 | |
| 318 | def run(self): |
| 319 | if not os.path.exists(PACKAGED_FOR_SALT_SSH_FILE): |
| 320 | # Write the salt-ssh packaging file |
| 321 | if getattr(self.distribution, "salt_ssh_packaging_file", None) is None: |
| 322 | print("This command is not meant to be called on it's own") |
| 323 | exit(1) |
| 324 | |
| 325 | # pylint: disable=E0602 |
| 326 | open( |
| 327 | self.distribution.salt_ssh_packaging_file, "w", encoding="utf-8" |
| 328 | ).write("Packaged for Salt-SSH\n") |
| 329 | # pylint: enable=E0602 |
| 330 | |
| 331 | |
| 332 | class Develop(develop): |