from distutils.core import setup
from setuptools import find_packages
import os
import sys

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

def find_packages_in(where, **kwargs):
    return [where] + ['%s.%s' % (where, package) for package in find_packages(where=where, **kwargs)]

setup(
    name = 'django-multitenant',
    version = '0.2.7',
    author = 'Allan Lei',
    author_email = 'allanlei@helveticode.com',
    description = ('Multi-tenant addons for Django'),
    license = 'New BSD',
    keywords = 'multitenant multidb multischema django',
    url = 'https://github.com/allanlei/django-multitenant',
    packages=find_packages_in('tenant'),
    long_description=read('README.md'),
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

from distutils.core import setup
from setuptools import find_packages
import os
import sys

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

def find_packages_in(where, **kwargs):
    return [where] + ['%s.%s' % (where, package) for package in find_packages(where=where, **kwargs)]

setup(
    name = 'django-multitenant',
    version = '0.2.7',
    author = 'Allan Lei',
    author_email = 'allanlei@helveticode.com',
    description = ('Multi-tenant addons for Django'),
    license = 'New BSD',
    keywords = 'multitenant multidb multischema django',
    url = 'https://github.com/allanlei/django-multitenant',
    packages=find_packages_in('tenant'),
    long_description=read('README.md'),
    install_requires=[
        'Django<1.4',
    ],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

Add Django < 1.4 requirements
Add Django < 1.4 requirements
