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",
    version="0.8.0",
    description="Facebook AI Research Sequence-to-Sequence Toolkit",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


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


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


Project Name: OpenNMT/OpenNMT-tf
Commit Name: 047c911e745ea6fdac63a728c014c038592f2b6d
Time: 2019-03-20
Author: guillaume.klein@systrangroup.com
File Name: opennmt/tokenizers/opennmt_tokenizer.py
Class Name: OpenNMTTokenizer
Method Name: __init__