Exemplo n.º 1
0
def main():
    """ main function for installing dnppy """

    print("====================================================================")
    print("   Setting up dnnpy! the DEVELOP National Program python package!")
    print("====================================================================")

    print("\nseting up dependencies")
    install_dependencies.main()
    setup()

    print("\nValidating setup of each module...")
    if test_setup() is True:
        print("Setup was successful!")
    else:
        print("Setup has failed!")

    print("You may close this window")
    time.sleep(20)
Exemplo n.º 2
0
def main():
    """ main function for installing dnppy """

    print(
        "====================================================================")
    print("   Setting up dnnpy! the DEVELOP National Program python package!")
    print(
        "====================================================================")

    print("\nseting up dependencies")
    install_dependencies.main()
    setup()

    print("\nValidating setup of each module...")
    if test_setup() is True:
        print("Setup was successful!")
    else:
        print("Setup has failed!")

    print("You may close this window")
    time.sleep(20)
Exemplo n.º 3
0
"""
Simple "open this script and run it" installer for dnppy.
"""

__author__ = 'Jwely'

# set up dependencies for active python directory, includes installation of pip
import install_dependencies
install_dependencies.main()

# uses pip to install this local copy of the repo
import pip
import os

fold_name = os.path.realpath("__file__").split("\\")[-2]
pip.main(["install", "--upgrade", "../{dir}".format(dir=fold_name)])