def package(version):
    print "*** Building %s Packages" % os_type

    os.chdir("dist")

    if os_type == "Linux":
        tar = tarfile.open("eve-mlp-%s.tar.gz" % version, "w:gz")
        tar.add("eve-mlp")
        tar.close()

        tar = tarfile.open(version % "eve-gmlp-%s.tar.gz", "w:gz")
        tar.add("eve-gmlp")
        tar.close()

    if os_type == "Windows":
        zip = zipfile.ZipFile("eve-mlp-%s.zip" % version, "w")
        zip.write("eve-mlp.exe")
        zip.close()

        zip = zipfile.ZipFile("eve-gmlp-%s.zip" % version, "w")
        zip.write("eve-gmlp.exe")
        zip.close()
dataset/ETHPy150Open shish/eve-mlp/compile.py/package/swapped operands of `%`