6d9a2026ed5b80b24c6e3262f1dfc9380d90aa24,setup.py,,,#,3

Before Change

from setuptools import find_packages, setup

install_requires = [
    "numpy",
    // "tensorflow", // user install it
    "scipy",
    "scikit-image",
    "matplotlib",
]

setup(
    name="tensorlayer",
    version="1.8.4",
    include_package_data=True,
    author="TensorLayer Contributors",
    author_email="hao.dong11@imperial.ac.uk",
    url="https://github.com/tensorlayer/tensorlayer",
    license="apache",
    packages=find_packages(),
    install_requires=install_requires,
    scripts=[
        "tl",
    ],
    description="Reinforcement Learning and Deep Learning Library for Researcher and Engineer.",
    keywords="deep learning, reinforcement learning, tensorflow",
    platform=["any"],
)

After Change


if os.path.exists("README.rst"):
    // codec is used for consistent encoding
    long_description = codecs.open(
        os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.rst"),
        "r", "utf-8"
    ).read()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 6d9a2026ed5b80b24c6e3262f1dfc9380d90aa24
Time: 2018-04-16
Author: contact@jonathandekhtiar.eu
File Name: setup.py
Class Name:
Method Name:


Project Name: automl/auto-sklearn
Commit Name: 6a1e876cd545ede357714c7668c41e36bab291f9
Time: 2015-03-31
Author: feurerm@informatik.uni-freiburg.de
File Name: setup.py
Class Name:
Method Name:


Project Name: Featuretools/featuretools
Commit Name: adfe173afdcb2a10f02f2b2ff1ec103691442539
Time: 2018-12-03
Author: inboxjeff@outlook.com
File Name: setup.py
Class Name:
Method Name: