MCPcopy Create free account
hub / github.com/cztomczak/cefpython / command_line_args

Function command_line_args

tools/make_installer.py:130–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def 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
149def copy_tools_installer_files(setup_dir, pkg_dir):

Callers 1

mainFunction · 0.70

Calls 1

Tested by

no test coverage detected