from setuptools import find_packages, setup
import os

name = 'presence_analyzer'
version = '0.2.2'


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


setup(
    name=name,
    version=version,
    description='Presence analyzer',
    long_description=read('README.md'),
    classifiers=[],
    keywords='',
    author='',
    author_email='',
    url='',
    license='MIT',
    package_dir={'': 'src'},
    packages=find_packages('src'),
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'Flask',
        'Flask-Mako',
        'lxml',
        'Mako',
        'Requests',
        'setuptools',

    ],
    entry_points="""
    [console_scripts]
    flask-ctl = presence_analyzer.script:run
    get_xml = presence_analyzer.script:get_xml

    [paste.app_factory]
    main = presence_analyzer.script:make_app
    debug = presence_analyzer.script:make_debug
    """,
)
