-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
63 lines (56 loc) · 1.76 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import re
from pathlib import Path
from setuptools import find_packages, setup
def read(fname):
p = Path(__file__).parent / fname
with p.open(encoding="utf-8") as f:
return f.read()
def get_version(prop, project):
project = Path(__file__).parent / project / "__init__.py"
result = re.search(
r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), project.read_text()
)
return result.group(1)
setup(
name="openpecha",
version=get_version("__version__", "openpecha"),
author="Esukhia developers",
author_email="[email protected]",
description="OpenPecha Toolkit allows state of the art for distributed standoff annotations on moving texts",
long_description=read("README.md"),
long_description_content_type="text/markdown",
license="Apache2",
url="https://github.com/OpenPoti/openpecha-toolkit",
packages=find_packages(),
install_requires=[
"botok>=0.8.8, <1.0",
"boto3>=1.24.50, <2.0",
"Click>=7.1.2, <9.0",
"diff-match-patch==20181111",
"polib==1.1.1, <2.0",
"PyYAML>=5.0.0",
"requests>=2.22.0, <3.0",
"antx>=0.1.10, <2.0",
"tqdm>=4.35.0, <5.0",
"PyGithub>=1.43.8, <2.0",
"GitPython>=3.1.0, <4.0",
"bs4>=0.0.1, <1.0",
"pyewts>=0.1.3, <1.0",
"rdflib>=5.0.0",
"pydantic>=1.7.3, <2.0",
"python-docx>=0.8.11, <1.0",
"fonttools[unicode] >= 4.37.3"
],
extras_require={
"transifex": [
"transifex-python>=1.0, <2.0",
"python-slugify[unidecode]>=5.0, <6.0",
]
},
python_requires=">=3.7",
entry_points={
"console_scripts": [
"openpecha=openpecha.cli:cli"
] # command=package.module:function
},
)