forked from flairNLP/flair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
24 lines (21 loc) · 769 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
from pathlib import Path
from setuptools import find_packages, setup
required = Path("requirements.txt").read_text(encoding="utf-8").split("\n")
setup(
name="flair",
version="0.14.0",
description="A very simple framework for state-of-the-art NLP",
long_description=Path("README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
author="Alan Akbik",
author_email="[email protected]",
url="https://github.com/flairNLP/flair",
packages=find_packages(exclude=["tests", "tests.*"]), # same as name
license="MIT",
install_requires=required,
extras_require={
"word-embeddings": ["gensim>=4.2.0", "bpemb>=0.3.5"],
},
include_package_data=True,
python_requires=">=3.9",
)