e6278790f11323f9e6695efa461b80f511f76338,setup.py,,read_requirements,#,26

Before Change


    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


    install_reqs = parse_requirements(reqs_path, session=PipSession())
    reqs = [str(ir.req) for ir in install_reqs]

    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: 3

Non-data size: 15

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: e6278790f11323f9e6695efa461b80f511f76338
Time: 2018-03-15
Author: yoptar@gmail.com
File Name: setup.py
Class Name:
Method Name: read_requirements


Project Name: deepmipt/DeepPavlov
Commit Name: e6278790f11323f9e6695efa461b80f511f76338
Time: 2018-03-15
Author: yoptar@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: deepmipt/DeepPavlov
Commit Name: 284c2d94c6b50f7f1f3091d0c4bec62e7f54dd73
Time: 2018-03-15
Author: dilyara.rimovna@gmail.com
File Name: setup.py
Class Name:
Method Name: read_requirements