debian-django-tenant-schemas/setup.py

44 lines
1.2 KiB
Python
Raw Permalink Normal View History

#!/usr/bin/env python
from os.path import exists
from version import get_git_version
2014-08-21 10:25:04 +02:00
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
2013-10-20 13:41:46 +02:00
__version__ = "1.4.0"
setup(
name='django-tenant-schemas',
version=get_git_version(),
author='Bernardo Pires Carneiro',
author_email='carneiro.be@gmail.com',
packages=[
2014-08-21 10:25:04 +02:00
'tenant_schemas',
'tenant_schemas.postgresql_backend',
'tenant_schemas.management',
'tenant_schemas.management.commands',
'tenant_schemas.management.commands.legacy',
2014-08-21 10:25:04 +02:00
'tenant_schemas.templatetags',
'tenant_schemas.test',
'tenant_schemas.tests',
],
scripts=[],
url='https://github.com/bcarneiro/django-tenant-schemas',
license='MIT',
description='Tenant support for Django using PostgreSQL schemas.',
long_description=open('README.rst').read() if exists("README.rst") else "",
2014-08-21 10:25:04 +02:00
classifiers=[
'License :: OSI Approved :: MIT License',
'Framework :: Django',
'Programming Language :: Python',
],
install_requires=[
'Django >= 1.2.0',
2013-03-16 09:48:45 +01:00
'psycopg2',
],
zip_safe=False,
)