forked from bernardopires/django-tenant-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (40 loc) · 1.19 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python
from os.path import exists
from version import get_git_version
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
__version__ = "1.4.0"
setup(
name='django-tenant-schemas',
version=get_git_version(),
author='Bernardo Pires Carneiro',
author_email='[email protected]',
packages=[
'tenant_schemas',
'tenant_schemas.postgresql_backend',
'tenant_schemas.management',
'tenant_schemas.management.commands',
'tenant_schemas.management.commands.legacy',
'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 "",
classifiers=[
'License :: OSI Approved :: MIT License',
'Framework :: Django',
'Programming Language :: Python',
],
install_requires=[
'Django >= 1.6.0',
'django-threadlocals',
'psycopg2',
],
zip_safe=False,
)