()
| 778 | |
| 779 | @staticmethod |
| 780 | def _read_configuration(): |
| 781 | # search for a .p4a configuration file in the current directory |
| 782 | if not exists(".p4a"): |
| 783 | return |
| 784 | info("Reading .p4a configuration") |
| 785 | with open(".p4a") as fd: |
| 786 | lines = fd.readlines() |
| 787 | lines = [shlex.split(line) |
| 788 | for line in lines if not line.startswith("#")] |
| 789 | for line in lines: |
| 790 | for arg in line: |
| 791 | sys.argv.append(arg) |
| 792 | |
| 793 | def recipes(self, args): |
| 794 | """ |