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

Before Change


        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))
                subprocess.call([pipExePath, "install", "-U", "--upgrade", r])

After Change


            die("Dependency listing file not found: {0}".format(reqFilePath), 5)

        c = [pipExePath, "install", "--find-links={0}".format(distHome), "-r", reqFilePath]
        log("Executing: {0}".format(" ".join(c)))
        subprocess.call(c)
    except:
        die("Dependency installation failed!", 6)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

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: reinforceio/tensorforce
Commit Name: ccbe291ec9859698a57147b1033d503a7739dfa9
Time: 2017-08-03
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/core/distributions/categorical.py
Class Name: Categorical
Method Name: create_tf_operations


Project Name: OpenNMT/OpenNMT-py
Commit Name: 0e7bfac76b97e7630102687f7e6309e00e190091
Time: 2018-11-13
Author: benzurdopeters@gmail.com
File Name: onmt/decoders/ensemble.py
Class Name: EnsembleGenerator
Method Name: forward


Project Name: analysiscenter/batchflow
Commit Name: 543e37e278a10165f2a9d7350945a579daa0225e
Time: 2019-06-20
Author: steve.sinobi@ya.ru
File Name: batchflow/tests/segmentation_metrics_test_brief.py
Class Name:
Method Name: