-
Notifications
You must be signed in to change notification settings - Fork 44
/
setup.py
27 lines (26 loc) · 849 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from setuptools import setup, find_packages
setup(
name="wtpsplit",
version="2.1.2",
packages=find_packages(),
description="Universal Robust, Efficient and Adaptable Sentence Segmentation",
author="Markus Frohmann, Igor Sterner, Benjamin Minixhofer",
author_email="markus.frohmann@gmail.com",
install_requires=[
"onnxruntime>=1.13.1",
"transformers>=4.22.2",
"huggingface-hub==0.25.2", # see https://github.com/segment-any-text/wtpsplit/issues/135
"numpy>=1.0",
"scikit-learn>=1",
"tqdm",
"skops",
"pandas>=1",
"cached_property", # for Py37
"mosestokenizer",
"adapters",
],
url="https://github.com/segment-any-text/wtpsplit",
package_data={"wtpsplit": ["data/*"]},
include_package_data=True,
license="MIT",
)