from setuptools import setup, find_packages

setup(
    name="wtpsplit-triton",
    version="2.1.7",
    packages=find_packages(),
    description="Universal Robust, Efficient and Adaptable Sentence Segmentation with NVIDIA Triton Support",
    author="Markus Frohmann, Igor Sterner, Benjamin Minixhofer , Sai Sanjay",
    author_email="saisanjay7660@gmail.com",
    install_requires=[
        # "onnxruntime>=1.13.1", # can make conflicts between onnxruntime and onnxruntime-gpu
        "transformers>=4.22.2",
        "huggingface-hub",
        "numpy>=1.0",
        "scikit-learn>=1",
        "tqdm",
        "skops",
        "pandas>=1",
        "cached_property",  # for Py37
        "mosestokenizer",
        "adapters>=1.0.1",
    ],
    extras_require={
        'onnx-gpu': ['onnxruntime-gpu>=1.13.1'],
        'onnx-cpu': ['onnxruntime>=1.13.1'],
        'triton': ['tritonclient[grpc]>=2.20.0'],
    },
    url="https://github.com/segment-any-text/wtpsplit",
    package_data={"wtpsplit": ["data/*"]},
    include_package_data=True,
    license="MIT",
)
