<commit_before>module Plugin::Python
  module Use include Plugin::Use
    def __use!(var)
      super
      __if(cmp(raw("$UID"), Fixnum).gt(0)) do |c|
        c.then do
          __case(args[1]) do |ca|
            ca.when("jython*") do
              __export("JYTHON_HOME", raw("#{var}/libexec"))
            end
          end

          python_path = raw("$HOME/.pip/$(basename #{var})")
          add_to_PYTHONPATH(python_path)
        end
      end
    end
  end
end<commit_msg>Add the jython libexec/Lib to PYTHONPATH<commit_after>module Plugin::Python
  module Use include Plugin::Use
    def __use!(var)
      super
      __if(cmp(raw("$UID"), Fixnum).gt(0)) do |c|
        c.then do
          __case(args[1]) do |ca|
            ca.when("jython*") do
              __export("JYTHON_HOME", raw("#{var}/libexec"))
              # This may actually be broken for the general case
              add_to_PYTHONPATH(raw("#{var}/libexec/Lib"))
            end
          end

          python_path = raw("$HOME/.pip/$(basename #{var})")
          add_to_PYTHONPATH(python_path)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.13339301700984782, 'fraction_numerical': 0.0035810205908683975, 'mean_word_length': 1.9576719576719577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1844546', 'n_tokens_mistral': 378, 'n_tokens_neox': 367, 'n_words': 80}