-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·53 lines (45 loc) · 1.69 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
#! /usr/bin/env python
from os import path
from setuptools import find_packages, setup
from seqscore import __version__
def setup_package() -> None:
root = path.abspath(path.dirname(__file__))
with open(path.join(root, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="seqscore",
version=__version__,
packages=find_packages(include=("seqscore", "seqscore.*")),
# Package type information
package_data={"seqscore": ["py.typed"]},
python_requires=">=3.7",
license="MIT",
description="SeqScore: Scoring for named entity recognition and other sequence labeling tasks",
long_description=long_description,
install_requires=[
"attrs>=19.2.0",
"click",
"tabulate",
"typing_extensions;python_version<'3.8'",
],
entry_points="""
[console_scripts]
seqscore=seqscore.scripts.seqscore:cli
""",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
url="https://github.com/bltlab/seqscore",
long_description_content_type="text/markdown",
author="Constantine Lignos",
author_email="lignos@brandeis.edu",
)
if __name__ == "__main__":
setup_package()