164b392ce45a1baa7523212c451fa3d20cb06450,setup.py,,main,#,64

Before Change


    try:
        log("Installing Python dependencies")
        reqFilePath = os.path.join(setupHome, "requirements.txt")
        if os.path.isfile(reqFilePath):
            reqItems = [line.strip() for line in open(reqFilePath)]
            for r in reqItems:
                log("Installing package: {0}".format(r))

After Change


    try:
        log("Installing Python dependencies")
        reqFilePath = os.path.join(setupHome, "requirements.txt")
        if not os.path.isfile(reqFilePath):
            die("Dependency listing file not found: {0}".format(reqFilePath), 5)

        c = [pipExePath, "install", "--find-links={0}".format(distHome), "-r", reqFilePath]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Esri/raster-functions
Commit Name: 164b392ce45a1baa7523212c451fa3d20cb06450
Time: 2015-05-21
Author: akferoz@esri.com
File Name: setup.py
Class Name:
Method Name: main


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: data_handler.py
Class Name: data_processor
Method Name: validate_prepro


Project Name: casparwylie/Perceptron
Commit Name: d81ee18bd7d43479784116c40c9b08eb6bb36cc9
Time: 2020-07-03
Author: caspar@phntms.com
File Name: user_interface_handler.py
Class Name: user_interface
Method Name: check_all_fields_valid