<commit_before>require 'formula'

class Uwsgi < Formula
  homepage 'http://projects.unbit.it/uwsgi/'
  url 'http://projects.unbit.it/downloads/uwsgi-1.9.18.2.tar.gz'
  sha1 '613328a2da84a7eb3b6f01f892833f2ef8e591ca'

  depends_on :python
  depends_on 'pcre'
  depends_on 'libyaml'

  def install
    python do
      %w{CFLAGS LDFLAGS}.each { |e| ENV.append e, "-arch #{MacOS.preferred_arch}" }

      system python, "uwsgiconfig.py", "--build"
      bin.install "uwsgi"
    end
  end
end<commit_msg>uwsgi: cleanup python usage.<commit_after>require 'formula'

class Uwsgi < Formula
  homepage 'http://projects.unbit.it/uwsgi/'
  url 'http://projects.unbit.it/downloads/uwsgi-1.9.18.2.tar.gz'
  sha1 '613328a2da84a7eb3b6f01f892833f2ef8e591ca'

  depends_on 'pcre'
  depends_on 'libyaml'

  def install
    %w{CFLAGS LDFLAGS}.each { |e| ENV.append e, "-arch #{MacOS.preferred_arch}" }

    system "python", "uwsgiconfig.py", "--build"
    bin.install "uwsgi"
  end
end
{'fraction_non_alphanumeric': 0.13975155279503104, 'fraction_numerical': 0.06418219461697723, 'mean_word_length': 3.6941747572815533, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2324997', 'n_tokens_mistral': 432, 'n_tokens_neox': 400, 'n_words': 71}