<commit_before>os: Windows Server 2012 R2

deploy: off

init:
  - ps: "ls -Name \"C:/\""
  - ps: "ls -Name \"C:/Program Files/Microsoft SDKs/Windows\""
  - "SET PATH=\\Python34;\\Python34\\Scripts;%PATH%"

install:
  - ps: Start-FileDownload https://www.mirrorservice.org/sites/downloads.sourceforge.net/p/py/pyqt/PyQt5/PyQt-5.5/PyQt5-5.5-gpl-Py3.4-Qt5.5.0-x32.exe -FileName $env:temp/pyqt5_install.exe
  - ps: "& $env:temp/pyqt5_install.exe /S"
  - ps: "Wait-Process -Name pyqt5_install -Timeout 600"
  #- ps: cinst 7zip.commandline 
  #- ps: cinst wget -x86
  #- ps: if (Test-Path "$env:temp\pyqt5_install.exe") { Remove-Item "$env:temp\pyqt5_install.exe" -Verbose }
  #- ps: wget.exe -q "https://www.mirrorservice.org/sites/downloads.sourceforge.net/p/py/pyqt/PyQt5/PyQt-5.5/PyQt5-5.5-gpl-Py3.4-Qt5.5.0-x32.exe" -O $env:temp/pyqt5_install.exe --no-check-certificate
  #- ps: ls "$env:temp\pyqt5_install.exe"
  #- ps: $7zipExe = $(ls -recurse -include 7z.exe c:\programdata\chocolatey)[0].FullName
  #- ps: echo $7zipExe  
  #- ps: c:\programdata\chocolatey\bin\7z.exe x $env:temp\pyqt5_install.exe -oC:\\Python34 -r
  #- ps: ls -name "C:\\Python34\\Lib\\site-packages"
  #- ps: ls -name "C:\\Python34\\Lib\\site-packages\\PyQt5"
  #- ps: Set-Content -Path "C:\\Python34\\Lib\\site-packages\\PyQt5\\pyuic5.bat" -Value "C:\\Python34\\python.exe -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9"
  #- ps: Get-Content "C:\\Python34\\Lib\\site-packages\\PyQt5\\pyuic5.bat" 

  # Check that we have the expected version and architecture for Python
  - "python --version"
  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
  - "python -c \"import PyQt5\""
  - "pip --version"
<commit_msg>PyQt5.5 installer doesn't play well. Revert back to manual extraction of exe.<commit_after>os: Windows Server 2012 R2

deploy: off

init:
  - ps: "ls -Name \"C:/\""
  - ps: "ls -Name \"C:/Program Files/Microsoft SDKs/Windows\""
  - "SET PATH=\\Python34;\\Python34\\Scripts;%PATH%"

install:
  - ps: if (Test-Path "$env:temp\pyqt5_install.exe") { Remove-Item "$env:temp\pyqt5_install.exe" -Verbose }
  - ps: Start-FileDownload https://www.mirrorservice.org/sites/downloads.sourceforge.net/p/py/pyqt/PyQt5/PyQt-5.5/PyQt5-5.5-gpl-Py3.4-Qt5.5.0-x32.exe -FileName $env:temp/pyqt5_install.exe
  - ps: ls "$env:temp\pyqt5_install.exe"
  - ps: cinst 7zip.commandline 
  - ps: c:\programdata\chocolatey\bin\7z.exe x $env:temp\pyqt5_install.exe -oC:\\Python34 -r
  - ps: ls -name "C:\\Python34\\Lib\\site-packages"
  - ps: ls -name "C:\\Python34\\Lib\\site-packages\\PyQt5"
  - ps: Set-Content -Path "C:\\Python34\\Lib\\site-packages\\PyQt5\\pyuic5.bat" -Value "C:\\Python34\\python.exe -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9"
  - ps: Get-Content "C:\\Python34\\Lib\\site-packages\\PyQt5\\pyuic5.bat" 

  # Check that we have the expected version and architecture for Python
  - "python --version"
  - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
  - "python -c \"import PyQt5\""
  - "pip --version"

{'fraction_non_alphanumeric': 0.198871181938911, 'fraction_numerical': 0.04747675962815405, 'mean_word_length': 3.110504774897681, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1295336', 'n_tokens_mistral': 1369, 'n_tokens_neox': 1263, 'n_words': 237}