c4049bb44bf19ced48f3dc32d06e2f154af09c1d,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())
    pip.main(["install", "-U", "Cython"])
    reqs = [str(ir.req) for ir in install_reqs]
    return reqs

After Change


    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",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: deepmipt/DeepPavlov
Commit Name: c4049bb44bf19ced48f3dc32d06e2f154af09c1d
Time: 2018-02-01
Author: ol.gure@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