<commit_before>import os
import sys
import platform
import subprocess

requires = [
    'pytz',
    'boto',
    'pyyaml',
    'gevent',
    'psutil',
    'sqlsoup',
    'pymysql>=0.6.2',
    'httplib2',
    'cherrypy==3.2.6',
    'requests',
    #'pyopenssl', # uncomment this line if you need https
    'pycrypto',
    'sqlalchemy',
    'apache-libcloud',
    'google-api-python-client==1.3',
]

if sys.version_info < (2, 7):
    requires.append(['argparse'])

os_name, os_version = platform.dist()[0].lower(), platform.dist()[1]

print os_name, os_version

cmd = None
if os_name == 'ubuntu':
    if os_version >= '12':
        cmd = '/bin/bash %s/scripts/debian.sh' 
    else:
        cmd = '/bin/bash %s/scripts/ubuntu10.sh'
elif os_name in ['centos', 'redhat']:
    if os_version.startswith('5.'):
        cmd = '/bin/bash %s/scripts/centos5.sh'
    elif os_version.startswith('6.'):
        cmd = '/bin/bash %s/scripts/centos6.sh'
elif os_name == 'debian':
    cmd = '/bin/bash %s/scripts/debian.sh'

if not cmd:
    print 'Unsupported os'
    raise sys.exit(1)<commit_msg>Fix apache-libcloud version<commit_after>import os
import sys
import platform
import subprocess

requires = [
    'pytz',
    'boto',
    'pyyaml',
    'gevent',
    'psutil',
    'sqlsoup',
    'pymysql>=0.6.2',
    'httplib2',
    'cherrypy==3.2.6',
    'requests',
    #'pyopenssl', # uncomment this line if you need https
    'pycrypto',
    'sqlalchemy',
    'apache-libcloud==0.15.1',
    'google-api-python-client==1.3',
]

if sys.version_info < (2, 7):
    requires.append(['argparse'])

os_name, os_version = platform.dist()[0].lower(), platform.dist()[1]

print os_name, os_version

cmd = None
if os_name == 'ubuntu':
    if os_version >= '12':
        cmd = '/bin/bash %s/scripts/debian.sh' 
    else:
        cmd = '/bin/bash %s/scripts/ubuntu10.sh'
elif os_name in ['centos', 'redhat']:
    if os_version.startswith('5.'):
        cmd = '/bin/bash %s/scripts/centos5.sh'
    elif os_version.startswith('6.'):
        cmd = '/bin/bash %s/scripts/centos6.sh'
elif os_name == 'debian':
    cmd = '/bin/bash %s/scripts/debian.sh'

if not cmd:
    print 'Unsupported os'
    raise sys.exit(1)
{'fraction_non_alphanumeric': 0.174931129476584, 'fraction_numerical': 0.02203856749311295, 'mean_word_length': 2.9050179211469533, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4076203', 'n_tokens_mistral': 864, 'n_tokens_neox': 826, 'n_words': 175}