-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
42 lines (35 loc) · 1.32 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import re
from os import path
from setuptools import find_packages, setup
PACKAGE_NAME = "phonlp"
here = path.abspath(path.dirname(__file__))
with io.open("%s/__init__.py" % PACKAGE_NAME, "rt", encoding="utf8") as f:
version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
]
setup(
name="phonlp",
version=version,
description="PhoNLP: A joint multi-task learning model for Vietnamese part-of-speech tagging, named entity recognition and dependency parsing",
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/VinAIResearch/PhoNLP',
author="Linh The Nguyen and Dat Quoc Nguyen",
author_email="[email protected]",
maintainer="linhnt",
maintainer_email="[email protected]",
classifiers=classifiers,
keyword="phonlp",
packages=find_packages(),
install_requires=["transformers>=3.2.0", "torch>=1.4.0", "numpy", "gdown>=3.12.2", "pytest", "tqdm"],
python_requires=">=3.6",
)