03e098c84a14309b87528ef21ccb5e4f834de5f5,setup.py,,,#,7

Before Change


EXTRAS_REQUIRE = {
    "viz": ["matplotlib>=1.5.0"],
}
EXTRAS_REQUIRE["all"] = list({pkg for pkgs in EXTRAS_REQUIRE.values() for pkg in pkgs})


def read_file(fname, encoding="utf-8"):
    path = os.path.join(os.path.dirname(__file__), fname)

After Change


about = {}
root_path = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(root_path, "textacy", "about.py")) as f:
    exec(f.read(), about)

// NOTE: Package configuration, including the name, metadata, and other options,
// are set in the setup.cfg file.
setup(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: chartbeat-labs/textacy
Commit Name: 03e098c84a14309b87528ef21ccb5e4f834de5f5
Time: 2020-03-01
Author: burtdewilde@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: nilmtk/nilmtk
Commit Name: a8e6afface0671c36c01d6c3bffb2275d808e97b
Time: 2014-11-27
Author: jack-list@xlk.org.uk
File Name: nilmtk/utils.py
Class Name:
Method Name: dependencies_diagnostics


Project Name: scipy/scipy
Commit Name: d430e92f1bc58b28567439a1028bc1697e7a7869
Time: 2020-08-04
Author: 44255917+swallan@users.noreply.github.com
File Name: benchmarks/benchmarks/stats.py
Class Name: ContinuousFitAnalyticalMLEOverride
Method Name: setup