294ae8801abbc7bf8ab5106f66d2c4ff721bb710,setup.py,,,#,4
Before Change
if RELEASED:
VERSION = "0.0.1"
LONG_DESCRIPTION = "A utility library and training bench for Pytorch."
setup_info = dict(
name="inferno",
version=VERSION,
author="Nasim Rahaman",
author_email="nasim.rahaman@iwr.uni-heidelberg.de",
url="https://github.com/nasimrahaman/inferno",
description="Pytorch Training Bench",
long_description=LONG_DESCRIPTION,
license="Apache License 2.0",
packages=find_packages(exclude=("tests",)),
install_requires=[
"torch"
]
)
setup(**setup_info)
else:
After Change
from setuptools import setup, find_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: inferno-pytorch/inferno
Commit Name: 294ae8801abbc7bf8ab5106f66d2c4ff721bb710
Time: 2017-08-21
Author: thorsten.beier@iwr.uni-heidelberg.de
File Name: setup.py
Class Name:
Method Name:
Project Name: deepdrive/deepdrive
Commit Name: 65dd2e98c5b8280e00433e698ad78cd8df3f76e5
Time: 2019-02-23
Author: cquiter@gmail.com
File Name: config.py
Class Name:
Method Name:
Project Name: RasaHQ/rasa
Commit Name: 06999395c7898abd4bc9ac3bae57d3516f7bca92
Time: 2019-03-14
Author: ric.wkr@gmail.com
File Name: tests/test_server.py
Class Name:
Method Name: test_stack_training