284c2d94c6b50f7f1f3091d0c4bec62e7f54dd73,setup.py,,read_requirements,#,26

Before Change


    // // parses requirements from requirements.txt
    reqs_path = os.path.join(__location__, "requirements.txt")
    install_reqs = parse_requirements(reqs_path, session=PipSession())
    reqs = [str(ir.req) for ir in install_reqs]

    for r in reqs:
        pip.main(["install", "-U", r])
    return reqs


setup(license="Apache License, Version 2.0",

After Change


    // // parses requirements from requirements.txt
    reqs_path = os.path.join(__location__, "requirements.txt")
    install_reqs = parse_requirements(reqs_path, session=PipSession())
    reqs = []
    for ir in install_reqs:
        pip.main(["install", str(ir.req or ir.link)])
        if ir.req:
            reqs.append(str(ir.req))
    return reqs


setup(license="Apache License, Version 2.0",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: 284c2d94c6b50f7f1f3091d0c4bec62e7f54dd73
Time: 2018-03-15
Author: dilyara.rimovna@gmail.com
File Name: setup.py
Class Name:
Method Name: read_requirements


Project Name: deepmipt/DeepPavlov
Commit Name: bc763baf9ea16e6a01c3803f9d180baface0a943
Time: 2018-03-14
Author: bushkov@phystech.edu
File Name: setup.py
Class Name:
Method Name: read_requirements


Project Name: NifTK/NiftyNet
Commit Name: 37e2656912c22d8aefe94a1bab2eefa7c4f54ccc
Time: 2018-03-23
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/layer/deconvolution.py
Class Name:
Method Name: infer_output_dims


Project Name: keras-team/keras
Commit Name: 09b97e951a0d47e7d5f31a66804a8e76f389315b
Time: 2017-07-08
Author: souptc@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: rnn