<commit_before>name "docker-py"
default_version "1.8.1"

dependency "python"
dependency "pip"

build do
  ship_license "Apachev2"
  # We don't use docker-py on Windows yet but it will come one day :)
  if ohai['platform'] == 'windows'
    pip_call "install --force-reinstall --install-option=\"--install-scripts='#{windows_safe_path(install_dir)}\\bin'\" #{name}==#{version}", :cwd => "/tmp"
  else
    pip_call "install --force-reinstall --install-option=\"--install-scripts=#{install_dir}/bin\" #{name}==#{version}", :cwd => "/tmp"
  end
end<commit_msg>Fixed docker-py on Windows<commit_after>name "docker-py"
default_version "1.8.1"

dependency "python"
dependency "pip"

build do
  ship_license "Apachev2"
  # We don't use docker-py on Windows yet but it will come one day :)
  if ohai['platform'] == 'windows'
    pip_call "install --force-reinstall --install-option=\"--install-scripts='#{windows_safe_path(install_dir)}\\bin'\" #{name}==#{version}"
  else
    pip_call "install --force-reinstall --install-option=\"--install-scripts=#{install_dir}/bin\" #{name}==#{version}", :cwd => "/tmp"
  end
end
{'fraction_non_alphanumeric': 0.1860885275519422, 'fraction_numerical': 0.007226738934056007, 'mean_word_length': 4.512437810945274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '5777969', 'n_tokens_mistral': 382, 'n_tokens_neox': 374, 'n_words': 90}