c86a02f7a878a60f8f1e157cf8e9f12834518334,setup.py,,,#,4

Before Change

//!/usr/bin/env python
from setuptools import setup, find_packages

setup(name="tflearn",
      version="0.2.2",
      description="Deep Learning Library featuring a higher-level API for "
                  "Tensorflow",
      author="TFLearn contributors",
      author_email="aymeric.damien@gmail.com",
      url="https://github.com/tflearn/tflearn",
      download_url="https://github.com/tflearn/tflearn/tarball/0.2.2",
      license="MIT",
      packages=find_packages(),
      install_requires=[
          "numpy",
          "six",
          "Pillow"
      ],
      test_suite="tests",
      classifiers=[
          "Programming Language :: Python",
          "Operating System :: OS Independent",
          "Intended Audience :: Developers"
          "Intended Audience :: Science/Research",
          "Topic :: Scientific/Engineering :: Artificial Intelligence"
      ],
      keywords=[
          "TFLearn",
          "TensorFlow",
          "Deep Learning",
          "Machine Learning",
          "Neural Networks",
          "AI"
        ]
      )

After Change


from setuptools.command.test import test as TestCommand

// explicitly config
test_args = [
    "--cov-report=term",
    "--cov-report=html",
    "--cov=tflearn",
    "tests"
]


class PyTest(TestCommand):
    user_options = [("pytest-args=", "a", "Arguments to pass to py.test")]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tflearn/tflearn
Commit Name: c86a02f7a878a60f8f1e157cf8e9f12834518334
Time: 2016-09-18
Author: kengzwl@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: aleju/imgaug
Commit Name: 9381d344172bb33f593d357106764004e4e60616
Time: 2020-01-24
Author: florient.chouteau@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: tryolabs/luminoth
Commit Name: 5e0780ac7ee31299ed377a305ed3b0d5737edafb
Time: 2017-08-23
Author: dekked@gmail.com
File Name: setup.py
Class Name:
Method Name: