from setuptools import setup

import os

# Put here required packages
packages = ['Django==1.6.2', 'django-suit', 'django-mptt', 'pillow', 'django-bootstrap3', 'easy-thumbnails', 'django-social-auth', 'django-registration',
'Whoosh', 'django-haystack',]

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 App',
      author='Your Name',
      author_email='example@example.com',
      url='https://pypi.python.org/pypi',
      install_requires=packages,
)

