from setuptools import setup, find_packages

with open("napari_text_layer/__init__.py", encoding="utf-8") as f:
    line = next(iter(f))
    VERSION = line.strip().split()[-1][1:-1]
      
with open("README.md", "r") as f:
    readme = f.read()
    
setup(
    name="napari-text-layer",
    version=VERSION,
    description="Text layer for bio-image annotation.",
    long_description=readme,
    long_description_content_type="text/markdown",
    author="Hanjin Liu",
    author_email="liuhanjin-sc@g.ecc.u-tokyo.ac.jp",
    license="BSD 3-Clause",
    download_url="https://github.com/hanjinliu/napari-text-layer",
    entry_points={"napari.plugin": "napari-text-layer = napari_text_layer"},
    packages=find_packages(),
    python_requires=">=3.7",
    )