-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
39 lines (32 loc) · 1.01 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
from os import path
from setuptools import find_packages, setup
def packagefile(*relpath):
return path.join(path.dirname(__file__), *relpath)
def read(*relpath):
with open(packagefile(*relpath), encoding="utf-8") as f:
return f.read()
setup(
name="split_lang",
version="2.0.5",
description="A package for splitting text by languages through concatenating over split substrings based on their language",
long_description=read("README.md"),
long_description_content_type="text/markdown",
url="https://github.com/DoodleBears/langsplit",
author="DoodleBear",
author_email="[email protected]",
license="MIT",
packages=find_packages(),
install_requires=[
"fast_langdetect",
"pydantic",
"budoux",
"wordfreq",
"wordfreq[cjk]",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
)