fe26bca9c47ce1e609f7bcdf19fc2715c408e2e8,setup.py,,,#,6
Before Change
VERSION = "__version__"
with io.open(os.path.join(PACKAGE_PATH, VERSION)) as f:
version = f.readline().strip()
nlu_metrics_version = "0.12.0"
required = [
After Change
with io.open(os.path.join(root, "snips_nlu", "__about__.py"),
encoding="utf8") as f:
about = dict()
exec(f.read(), about)
with io.open(os.path.join(root, "README.rst"), encoding="utf8") as f:
readme = f.read()
nlu_metrics_version = "0.12.0"
required = [
"enum34==1.1.6",
"pathlib==1.0.1",
"numpy==1.14.0",
"scipy==1.0.0",
"scikit-learn==0.19.1",
"sklearn-crfsuite==0.3.6",
"semantic_version==2.6.0",
"snips_nlu_utils==0.6.1",
"snips_nlu_ontology==0.57.0",
"num2words==0.5.6",
"plac==0.9.6",
]
extras_require = {
"doc": [
"sphinx==1.7.1",
"sphinxcontrib-napoleon==0.6.1",
"sphinx-rtd-theme==0.2.4"
],
"metrics": [
"snips_nlu_metrics==%s" % nlu_metrics_version,
],
"test": [
"mock==2.0.0",
"snips_nlu_metrics==%s" % nlu_metrics_version,
"pylint==1.8.2",
"coverage==4.4.2"
],
"integration_test": [
"snips_nlu_metrics==%s" % nlu_metrics_version,
]
}
setup(name=about["__title__"],
description=about["__summary__"],
long_description=readme,
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
license=about["__license__"] ,
url=about["__uri__"],
install_requires=required,
extras_require=extras_require,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: snipsco/snips-nlu
Commit Name: fe26bca9c47ce1e609f7bcdf19fc2715c408e2e8
Time: 2018-06-19
Author: adrien.ball@snips.net
File Name: setup.py
Class Name:
Method Name:
Project Name: pantsbuild/pants
Commit Name: cb091ce8cd52691e9eb569dacd960cd326030c8b
Time: 2014-02-20
Author: jsirois@twitter.com
File Name: src/python/twitter/pants/tasks/builddictionary.py
Class Name: BuildBuildDictionary
Method Name: _gen_goals_reference
Project Name: snipsco/snips-nlu
Commit Name: b605a4b84ca3f5e17cf106fe025f8a688ab8cc65
Time: 2018-06-21
Author: adrien.ball@snips.net
File Name: docs/source/conf.py
Class Name:
Method Name: