# -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
from os.path import join
from re import search

PACKAGE_NAME = "blrlib"

with open(join(PACKAGE_NAME, "__init__.py"), encoding="utf-8") as f:
    version = search(r'__version__\s+=\s+"(.*)"', f.read()).group(1)

with open("README.rst", encoding="utf-8") as f:
    readme = f.read()

with open("LICENSE", encoding="utf-8") as f:
    license = f.read()

setup(
    name=PACKAGE_NAME,
    version=version,
    license=license,
    description="The Package for Block Low Rank Matrix Computations.",
    long_description=readme,
    author="tbs-lab",
    url="https://tbs-lab.github.io",
    packages=find_packages(exclude=("tests", "docs")),
    install_requires=["numpy"],
)
