import os
from setuptools import setup, find_packages

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

setup(
    name = "hstream",
    version = "0.0.8",
    author = "Conrad Bezuidenhout",
    author_email = "conradbez1@gmail.com",
    description = ("Create python webapps with ease"),
    license = "BSD",
    keywords = "streamlit htmx fastapi",
    url = "http://packages.python.org/hyperstream",
    long_description=read('README'),
    long_description_content_type='text/markdown',
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
    ],
    install_requires=[
        'fastapi~=0.85',
        'uvicorn~=0.19',
        'watchfiles~=0.18',
        'Jinja2~=3.1',
        'Markdown~=3.4',
        'yattag~=1.14',
        'starlette_context==0.3.4',
        'python-multipart',
    ],
    entry_points={"console_scripts": ["hstream = hyperstream.runner:run"]},
    packages=['hyperstream'],
    package_data={"hyperstream": ["templates/main.html", "templates/header.html"]},
    include_package_data=True,
)