7560936f09755b3fafe03ae1c5ccebb3c93984b6,setup.py,,,#,60

Before Change


    if not on_readthedocs:
        // Do not add TF if we are installing GPflow on readthedocs
        requirements.append(tf_cpu)
        gast_requirement = (
            "gast>=0.2.2,<0.3"
            if latest_version("tensorflow") < parse_version("2.2")
            else "gast>=0.3.3"
        )
        requirements.append(gast_requirement)


def read_file(filename):

After Change


version = read_file("VERSION")
readme_text = read_file("README.md")

packages = find_packages(".", exclude=["tests"])

setup(
    name="gpflow",
    version=version,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: GPflow/GPflow
Commit Name: 7560936f09755b3fafe03ae1c5ccebb3c93984b6
Time: 2020-05-12
Author: st--@users.noreply.github.com
File Name: setup.py
Class Name:
Method Name:


Project Name: dirty-cat/dirty_cat
Commit Name: 15030b644c3fdaa7b4b86ebdf231242815378c5b
Time: 2018-09-20
Author: patricio.cerda@inria.fr
File Name: setup.py
Class Name:
Method Name:


Project Name: neurosynth/neurosynth
Commit Name: 6fe19719e8f88169d1b787e9bb33202d23d0b109
Time: 2015-11-08
Author: tyarkoni@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: jakeret/tf_unet
Commit Name: dfb5016cefc3bad21ab900a1c8196c46d6bd2297
Time: 2017-12-29
Author: joel.akeret@gmail.com
File Name: setup.py
Class Name:
Method Name: