a0f75996b1e25c97149bcbc6aad7eed5601daab0,setup.py,,,#,43

Before Change


            "fairseq-validate = fairseq_cli.validate:cli_main",
        ],
    },
    cmdclass={"build_ext": cpp_extension.BuildExtension},
    zip_safe=False,
)

After Change


            ],
        ),
    ])
    cmdclass["build_ext"] = cpp_extension.BuildExtension
except ImportError:
    pass


if "READTHEDOCS" in os.environ:
    // don"t build extensions when generating docs
    extensions = []
    if "build_ext" in cmdclass:
        del cmdclass["build_ext"]

    // use CPU build of PyTorch
    dependency_links = [
        "https://download.pytorch.org/whl/cpu/torch-1.3.0%2Bcpu-cp36-cp36m-linux_x86_64.whl"
    ]
else:
    dependency_links = []


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

Frequency: 3

Non-data size: 15

Instances


Project Name: pytorch/fairseq
Commit Name: a0f75996b1e25c97149bcbc6aad7eed5601daab0
Time: 2019-11-02
Author: myleott@fb.com
File Name: setup.py
Class Name:
Method Name:


Project Name: pytorch/fairseq
Commit Name: a0f75996b1e25c97149bcbc6aad7eed5601daab0
Time: 2019-11-02
Author: myleott@fb.com
File Name: setup.py
Class Name:
Method Name:


Project Name: brian-team/brian2
Commit Name: 5480680b27b47a85499834c35c93b4c599a33101
Time: 2013-08-18
Author: marcel.stimberg@ens.fr
File Name: brian2/synapses/synapses.py
Class Name: Synapses
Method Name: _create_variables