ee5e88bc0446986f6bc74080835e0566856d0e79,setup.py,,,#,9

Before Change


if os.getenv("WAVENET_VOCODER_BUILD_VERSION"):
    version = os.getenv("WAVENET_VOCODER_BUILD_VERSION")
else:
    try:
        sha = subprocess.check_output(
            ["git", "rev-parse", "HEAD"], cwd=cwd).decode("ascii").strip()
        version += "+" + sha[:7]
    except subprocess.CalledProcessError:
        pass
    except IOError:  // FileNotFoundError for python 3
        pass


class build_py(setuptools.command.build_py.build_py):

    def run(self):
        self.create_version_file()

After Change


          "scikit-learn",
          "librosa",
      ],
      extras_require={
          "test": [
              "nose",
              "pysptk >= 0.1.9",
              "matplotlib",
          ],
      })
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: r9y9/wavenet_vocoder
Commit Name: ee5e88bc0446986f6bc74080835e0566856d0e79
Time: 2019-09-07
Author: zryuichi@gmail.com
File Name: setup.py
Class Name:
Method Name:


Project Name: scikit-learn/scikit-learn
Commit Name: f1acf834685f8bcd1bcdd903e9c40b7515fe0a67
Time: 2020-03-06
Author: wderose@paypal.com
File Name: sklearn/ensemble/_stacking.py
Class Name: _BaseStacking
Method Name: fit


Project Name: biocore/scikit-bio
Commit Name: 4d6bc366a8ffb5bbef83f5a529616f9acaa31a15
Time: 2015-11-04
Author: kestrel.gorlick@gmail.com
File Name: skbio/io/format/blast7.py
Class Name:
Method Name: _blast7_sniffer