<commit_before>module DPL
  class Provider
    class PyPI < Provider
      DEFAULT_SERVER = 'https://pypi.python.org/pypi'
      PYPIRC_FILE = '~/.pypirc'

      def self.install_setuptools
        shell 'wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | sudo python'
        shell 'rm -f setuptools-*.zip'
      end

      def initialize(*args)
        super(*args)
        self.class.pip 'wheel' if options[:distributions].to_s.include? 'bdist_wheel'
      end<commit_msg>Download ez_setup.py from official location. Refs #253.<commit_after>module DPL
  class Provider
    class PyPI < Provider
      DEFAULT_SERVER = 'https://pypi.python.org/pypi'
      PYPIRC_FILE = '~/.pypirc'

      def self.install_setuptools
        shell 'wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python'
        shell 'rm -f setuptools-*.zip'
      end

      def initialize(*args)
        super(*args)
        self.class.pip 'wheel' if options[:distributions].to_s.include? 'bdist_wheel'
      end
{'fraction_non_alphanumeric': 0.1171259842519685, 'fraction_numerical': 0.002952755905511811, 'mean_word_length': 2.568421052631579, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2232064', 'n_tokens_mistral': 356, 'n_tokens_neox': 334, 'n_words': 71}