import io
import re

from setuptools import setup

with io.open("README.md", "rt", encoding="utf8") as f:
    readme = f.read()

with io.open("bipwrapper/__init__.py", "rt", encoding="utf8") as f:
    version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)

setup(
    name="bipwrapper",
    version=version,
    description="BIP Messenger API Wrapper",
    license="MIT",
    long_description=readme,
    long_description_content_type="text/markdown",
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/semudu/bipwrapper",
    download_url="https://github.com/semudu/bipwrapper/archive/v" + version + ".tar.gz",
    keywords=["BIP", "WRAPPER", "BIPMESSENGER", "BIPWRAPPER"],
    install_requires=["requests"],
    packages=["bipwrapper", "bipwrapper.model", "bipwrapper.service", "bipwrapper.type"],
    include_package_data=True,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
        "Intended Audience :: Developers",  # Define that your audience are developers
        "Topic :: Software Development :: Build Tools",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Operating System :: OS Independent",
    ]
)

import io
import re

from setuptools import setup

with io.open("README.md", "rt", encoding="utf8") as f:
    readme = f.read()

with io.open("bipwrapper/__init__.py", "rt", encoding="utf8") as f:
    version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)

setup(
    name="bipwrapper",
    version=version,
    description="BIP Messenger API Wrapper",
    license="MIT",
    long_description=readme,
    long_description_content_type="text/markdown",
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/semudu/bipwrapper",
    download_url="https://github.com/semudu/bipwrapper/archive/v" + version + ".tar.gz",
    keywords=["BIP", "WRAPPER", "BIPMESSENGER", "BIPWRAPPER"],
    install_requires=["requests"],
    packages=["bipwrapper", "bipwrapper.model", "bipwrapper.service", "bipwrapper.type"],
    include_package_data=True,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
        "Intended Audience :: Developers",  # Define that your audience are developers
        "Topic :: Software Development :: Build Tools",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Operating System :: OS Independent",
    ]
)

# Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package # Define that your audience are developers