Lines Matching refs:main
76 def create_archive(source, target=None, interpreter=None, main=None,
113 if main and has_main:
116 if not (main or has_main):
120 if main:
121 # Check that main has the right format.
122 mod, sep, fn = main.partition(':')
126 raise ZipAppError("Invalid entry point: " + main)
156 def main(args=None):
172 parser.add_argument('--main', '-m', default=None,
173 help="The main function of the application "
197 if args.main:
198 raise SystemExit("Cannot change the main function when copying")
201 interpreter=args.python, main=args.main,
206 main()