#!/usr/bin/env python
import os
from sys import version_info

from setuptools import setup, find_packages

from flask_mixer import version, project, license


def read(fname):
    try:
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    except IOError:
        return ''


install_requires = ['Flask>=0.8', 'Flask-SQLAlchemy>=0.16']
if version_info < (2, 7):
    install_requires.append('importlib')


META_DATA = dict(
    name=project,
    version=version,
    license=license,
    description=read('DESCRIPTION'),
    long_description=read('README.rst'),
    platforms=('Any'),

    author='Kirill Klenov',
    author_email='horneds@gmail.com',
    url=' http://github.com/klen/Flask-Milkman',

    packages=find_packages(),
    test_suite = 'tests',
)


if __name__ == "__main__":
    setup(**META_DATA)

#!/usr/bin/env python
import os
from sys import version_info

from setuptools import setup, find_packages

from flask_mixer import version, project, license


def read(fname):
    try:
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    except IOError:
        return ''


install_requires = ['Flask>=0.8', 'Flask-SQLAlchemy>=0.16']
if version_info < (2, 7):
    install_requires.append('importlib')


META_DATA = dict(
    name=project,
    version=version,
    license=license,
    description=read('DESCRIPTION'),
    long_description=read('README.rst'),
    platforms=('Any'),

    author='Kirill Klenov',
    author_email='horneds@gmail.com',
    url=' http://github.com/klen/Flask-Milkman',

    packages=find_packages(),
    install_requires=install_requires,
    test_suite = 'tests',
)


if __name__ == "__main__":
    setup(**META_DATA)

fix setup