Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def ArchiveZip(proj_info, extra_files, path=None):
    aname = createArchiveName(
        proj_info['name'],
        proj_info['version'],
        'zip',
        path
    )
    files_list = getFilesList(proj_info['packages'])
    files_list.extend(extra_files)
    zip_command = "zip -r {} {} -x {} ".format(aname, " ".join(files_list), exclude)
    check_call(split(zip_command))
        


src/d/a/daisydukes-0.0.2/daisydukes/__init__.py   daisydukes(Download)
    proj_info = util.trap_setup()[1]
    if args.zip:
        archive.ArchiveZip(proj_info, args.extrafiles)
    elif args.gzip:
        archive.ArchiveTar(proj_info, args.extrafiles, 'gz')