4684492f699aa87cdf3c9c83ddc584aa819ac6ea,setup.py,,main,#,12
Before Change
def main():
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "DESCRIPTION.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name = "M-LOOP",
version = ml.__version__,
packages = find_packages(),
After Change
long_description = ""
here = path.abspath(path.dirname(__file__))
description_path = path.join(here, "DESCRIPTION.rst")
if path.exists(description_path):
with open(description_path, "rb") as stream:
long_description = stream.read().decode("utf8")
setup(
name = "M-LOOP",
version = ml.__version__,
packages = find_packages(),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: michaelhush/M-LOOP
Commit Name: 4684492f699aa87cdf3c9c83ddc584aa819ac6ea
Time: 2021-01-13
Author: harry.slatyer@gmail.com
File Name: setup.py
Class Name:
Method Name: main
Project Name: studioml/studio
Commit Name: bb6b2d059ad7b8a231d9f8015b41e60f033eaf76
Time: 2017-08-04
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name:
Method Name: get_config
Project Name: apache/incubator-mxnet
Commit Name: 66ee118a455c5e267566f0e3fdc482985f803df0
Time: 2020-04-03
Author: lausen@amazon.com
File Name: ci/build_windows.py
Class Name:
Method Name: windows_build