2685c510bf2bccd5e94b16276533d5453fa16ac3,python-package/setup.py,,,#,10

Before Change


from setuptools.command.install import install


with open("requirements.txt", "rt") as fh:
    requirements = fh.read().splitlines()


class OverrideInstallCommand(install):
    def run(self):
        // Install all requirements
        failed = []

After Change


//with open("requirements.txt", "rt") as fh:
    //requirements = fh.read().splitlines()

requirements = [
    "numpy>=1.13.0",
    "matplotlib>=2.0.2",
    "hyperopt==0.1",
    "Keras==2.1.2",
    "pandas==0.21.0",
    "joblib==0.11",
    "scikit-learn==0.19.0",
    "Theano==1.0.1",
    "lightgbm==2.0.11",
    "networkx==1.11"
]


class OverrideInstallCommand(install):
    def run(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: AxeldeRomblay/MLBox
Commit Name: 2685c510bf2bccd5e94b16276533d5453fa16ac3
Time: 2019-04-26
Author: a.deromblay@DMFR0840.local
File Name: python-package/setup.py
Class Name:
Method Name:


Project Name: ContextLab/hypertools
Commit Name: 2f9325991f7db78ee4e9a254ad7c909a04d7c7d9
Time: 2017-01-27
Author: andrew.heusser@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: ContextLab/hypertools
Commit Name: 35883d5c71b1a61b70de7b2475ab47d183028f24
Time: 2017-01-27
Author: andrew.heusser@gmail.com
File Name: setup.py
Class Name:
Method Name: