Esempio n. 1
0
def main():
    goHome()

    msi_filename = createMSIPackage()

    if not os.path.exists("msi"):
        os.makedirs("msi")

    shutil.move(msi_filename, "msi")
Esempio n. 2
0
def main():
    goHome()

    msi_filename = createMSIPackage()

    if not os.path.exists("msi"):
        os.makedirs("msi")

    shutil.move(msi_filename, "msi")
Esempio n. 3
0
def main():
    msi_filename = createMSIPackage()

    assert subprocess.call(
        ("scp", msi_filename,
         "[email protected]:/var/www/releases/" + os.path.basename(msi_filename)),
        shell=True  # scan scp in PATH.
    ) == 0

    print("OK, uploaded", msi_filename)
Esempio n. 4
0
def main():
    msi_filename = createMSIPackage()

    assert (subprocess.call(
        (
            "scp",
            msi_filename,
            "[email protected]:/var/www/releases/" +
            os.path.basename(msi_filename),
        ),
        shell=True,  # scan scp in PATH.
    ) == 0)

    my_print("OK, uploaded '%s'." % msi_filename, style="blue")
Esempio n. 5
0
def main():
    msi_filename = createMSIPackage()

    assert (
        subprocess.call(
            (
                "scp",
                msi_filename,
                "[email protected]:/var/www/releases/" + os.path.basename(msi_filename),
            ),
            shell=True,  # scan scp in PATH.
        )
        == 0
    )

    print("OK, uploaded", msi_filename)
def main():
    createMSIPackage()