-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
26 lines (22 loc) · 919 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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',
'static3', # If you want serve the static files in the same server
# 'mysql-connector-python',
# 'pymongo',
'psycopg2',
'python-social-auth',
]
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='Your Name', author_email='[email protected]',
url='https://pypi.python.org/pypi',
install_requires=packages,
)