<commit_before>from setuptools import setup

setup(name='YourAppName', version='1.0',
      description='OpenShift Python-3.3 / Django-1.6 Community Cartridge based application',
      author='<NAME>', author_email='<EMAIL>',
      url='https://pypi.python.org/pypi',

      #  Uncomment one or more lines below in the install_requires section
      #  for the specific client drivers/modules your application needs.
      install_requires=['Django<=1.6',
			'CherryPy', # If you want serve Django through CherryPy
			'static3',  # If you want serve the static files in the same server
                        #  'mysql-connector-python',
                        #  'pymongo',
                        #  'psycopg2',
      ],
     )<commit_msg>incorporate the option of use of redis-cloud<commit_after>from setuptools import setup

import os

# Put here required packages or
# Uncomment one or more lines below in the install_requires section
# for the specific client drivers/modules your application needs.
packages = ['Django<=1.6',
                  'CherryPy', # If you want serve Django through CherryPy
                  'static3',  # If you want serve the static files in the same server
                   #  'mysql-connector-python',
                   #  'pymongo',
                   #  'psycopg2',
      ]

if 'REDISCLOUD_URL' in os.environ and 'REDISCLOUD_PORT' in os.environ and 'REDISCLOUD_PASSWORD' in os.environ:
     packages.append('django-redis-cache')
     packages.append('hiredis')

setup(name='YourAppName', version='1.0',
      description='OpenShift Python-3.3 / Django-1.6 Community Cartridge based application',
      author='<NAME>', author_email='<EMAIL>',
      url='https://pypi.python.org/pypi',
      install_requires=packages,
     )
{'fraction_non_alphanumeric': 0.10576923076923077, 'fraction_numerical': 0.011312217194570135, 'mean_word_length': 2.647422680412371, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6448530', 'n_tokens_mistral': 525, 'n_tokens_neox': 503, 'n_words': 145}