b4489997dc5b04e614e9919634461110a27cdba5,python-package/setup.py,,,#,6
Before Change
with open("README.md") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = [
"numpy>=1.13.0",
"matplotlib>=2.0.2",
"hyperopt==0.1",
After Change
from setuptools.command.install import install
from pip.req import parse_requirements
install_reqs = parse_requirements("./requirements.txt", session=False)
reqs = [str(ir.req) for ir in install_reqs]
class OverrideInstallCommand(install):
def run(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: AxeldeRomblay/MLBox
Commit Name: b4489997dc5b04e614e9919634461110a27cdba5
Time: 2017-06-27
Author: nicolas.cherel@telecom-paristech.fr
File Name: python-package/setup.py
Class Name:
Method Name:
Project Name: ufal/npfl114
Commit Name: c343409098b4f4b8396119d9f26e040e479a0e2b
Time: 2020-04-20
Author: milan@strakovi.com
File Name: labs/08/speech_recognition_eval.py
Class Name:
Method Name:
Project Name: tyarkoni/pliers
Commit Name: 0e62a365308c002945120551c8026f746f61e987
Time: 2017-05-10
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/api.py
Class Name: ClarifaiAPIExtractor
Method Name: _extract