b4489997dc5b04e614e9919634461110a27cdba5,python-package/setup.py,,,#,6
Before Change
with open("HISTORY.rst") as history_file:
history = history_file.read()
requirements = [
"numpy>=1.13.0",
"matplotlib>=2.0.2",
"hyperopt==0.1",
"ipyparallel==6.0.0",
"Keras==2.0.4",
"pandas>=0.18.0",
"scikit-learn==0.18.1",
"scipy>=0.17.0",
"Theano==0.9.0",
"xgboost==0.6a2",
"lightgbm==2.0.2"
]
test_requirements = [
"numpy>=1.13.0",
"matplotlib>=2.0.2",
"hyperopt==0.1",
"ipyparallel==6.0.0",
"Keras==2.0.4",
"pandas>=0.18.0",
"scikit-learn==0.18.1",
"scipy>=0.17.0",
"Theano==0.9.0",
"xgboost==0.6a2",
"lightgbm==2.0.2"
]
setup(
name="mlbox",
version="0.2.2",
description="A powerful Automated Machine Learning python library ",
long_description=readme + "\n\n" + history,
author="Axel ARONIO DE ROMBLAY",
author_email="axelderomblay@gmail.com",
url="https://github.com/AxeldeRomblay/mlbox",
packages=[
"mlbox","mlbox.encoding","mlbox.model","mlbox.optimisation","mlbox.prediction",
"mlbox.preprocessing","mlbox.model.supervised","mlbox.model.supervised.classification",
"mlbox.model.supervised.regression","mlbox.preprocessing.drift"
],
package_dir={"mlbox":"mlbox",
"mlbox.encoding":"mlbox/encoding",
"mlbox.model":"mlbox/model",
"mlbox.optimisation":"mlbox/optimisation",
"mlbox.prediction":"mlbox/prediction",
"mlbox.preprocessing":"mlbox/preprocessing",
"mlbox.model.supervised":"mlbox/model/supervised",
"mlbox.model.supervised.classification":"mlbox/model/supervised/classification",
"mlbox.model.supervised.regression":"mlbox/model/supervised/regression",
"mlbox.preprocessing.drift":"mlbox/preprocessing/drift"
},
include_package_data=True,
install_requires=requirements,
zip_safe=False,
keywords="mlbox",
classifiers=[
"Development Status :: 3 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
test_suite="tests",
tests_require=test_requirements
)
After Change
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: 7
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: deepgram/kur
Commit Name: d49df588e9bc5e13d02258536070b0f9be181e3e
Time: 2016-12-05
Author: ajsyp@syptech.net
File Name: setup.py
Class Name:
Method Name:
Project Name: open-mmlab/mmcv
Commit Name: aea750051f7660cf61dbd2360a25ea0bd13efa3b
Time: 2019-11-21
Author: rinatshigapov@gmail.com
File Name: setup.py
Class Name:
Method Name: