def pack(args):
    target = Path(args.target)
    if not target.unicodename.lower().endswith('.rpz'):
        target = Path(target.path + b'.rpz')
        logging.warning("Changing output filename to %s", target.unicodename)
    reprozip.pack.pack(target, Path(args.dir), args.identify_packages)
pack subcommand.
dataset/ETHPy150Open ViDA-NYU/reprozip/reprozip/reprozip/main.py/pack