()
| 128 | |
| 129 | |
| 130 | def command_line_args(): |
| 131 | global VERSION, WHEEL, WHEEL_ARGS |
| 132 | VERSION = get_version_from_command_line_args(__file__) |
| 133 | if not VERSION: |
| 134 | print(__doc__) |
| 135 | sys.exit(1) |
| 136 | for arg in sys.argv: |
| 137 | if arg == VERSION: |
| 138 | continue |
| 139 | if arg == "--wheel": |
| 140 | WHEEL = True |
| 141 | continue |
| 142 | if WHEEL: |
| 143 | WHEEL_ARGS.append(arg) |
| 144 | if WHEEL and not len(WHEEL_ARGS): |
| 145 | print("ERROR: wheel requires additional args eg. --universal") |
| 146 | sys.exit(1) |
| 147 | |
| 148 | |
| 149 | def copy_tools_installer_files(setup_dir, pkg_dir): |
no test coverage detected