()
| 111 | |
| 112 | |
| 113 | def parse_args(): |
| 114 | p = argparse.ArgumentParser() |
| 115 | p.add_argument('-v', '--verbose', action='store_true') |
| 116 | p.add_argument('-b', '--binary', action='store_true', |
| 117 | help='Is the dependency in the binary repo?') |
| 118 | p.add_argument('-r', '--release', action='store_true', |
| 119 | help='Download from GitHub release assets instead of branch') |
| 120 | p.add_argument('-O', '--organization', |
| 121 | help='Organization owning the deps repos', default='python') |
| 122 | p.add_argument('-e', '--externals-dir', type=pathlib.Path, |
| 123 | help='Directory in which to store dependencies', |
| 124 | default=pathlib.Path(__file__).parent.parent / 'externals') |
| 125 | p.add_argument('tag', |
| 126 | help='tag of the dependency') |
| 127 | return p.parse_args() |
| 128 | |
| 129 | |
| 130 | def main(): |
no test coverage detected
searching dependent graphs…