bc763baf9ea16e6a01c3803f9d180baface0a943,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
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",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances 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: 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
Project Name: dmlc/gluon-cv
Commit Name: 0fd13ccd7e61c9186127993080240c07b7ad905e
Time: 2019-10-28
Author: yizhu59@gmail.com
File Name: docs/tutorials/action_recognition/dive_deep_ucf101.py
Class Name:
Method Name: