예제 #1
0
def compute_md5():
    released = paver.path.path(INSTALLERS_DIR).listdir()
    checksums = []
    for f in released:
        m = md5.md5(open(f, 'r').read())
        checksums.append('%s  %s' % (m.hexdigest(), f))

    return checksums
예제 #2
0
파일: pavement.py 프로젝트: plaes/numpy
def compute_md5():
    released = paver.path.path(INSTALLERS_DIR).listdir()
    checksums = []
    for f in released:
        m = md5.md5(open(f, "r").read())
        checksums.append("%s  %s" % (m.hexdigest(), f))

    return checksums
예제 #3
0
파일: pavement.py 프로젝트: AGPeddle/scipy
def compute_md5():
    released = paver.path.path(options.installers.installersdir).listdir()
    checksums = []
    for f in released:
        if not f.endswith('DS_Store'):
            m = md5.md5(open(f, 'r').read())
            checksums.append('%s  %s' % (m.hexdigest(), f))

    return checksums
예제 #4
0
def compute_md5():
    released = paver.path.path(options.installers.installersdir).listdir()
    checksums = []
    for f in released:
        if not f.endswith('DS_Store'):
            m = md5.md5(open(f, 'r').read())
            checksums.append('%s  %s' % (m.hexdigest(), f))

    return checksums