-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
62 lines (59 loc) · 1.91 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
from pathlib import Path
from setuptools import find_packages, setup
project_root = Path(__file__).parent
install_requires = [
"Flask>=2.2.2",
"datasets>=2.9.0",
"requests",
"lxml",
"tinyhtml",
"xlsxwriter",
"coloredlogs",
]
setup(
name="tabgenie",
version="0.0.1",
python_requires=">=3.8",
description="TabGenie: A toolkit for table-to-text generation.",
author="Zdenek Kasner, Ekaterina Garanina, Ondrej Dusek",
author_email="[email protected]",
long_description=(project_root / "README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
url="https://github.com/kasnerz/tabgenie",
license="Apache-2.0 License",
packages=find_packages(exclude=["test", "test.*"]),
# package_dir={"": "src"},
package_data={
"tabgenie": ["static/css/*", "static/img/*", "static/js/*", "templates/*"],
},
data_files=[("tabgenie", ["tabgenie/config.yml"])],
include_package_data=True,
entry_points={
"console_scripts": [
"tabgenie=tabgenie.cli:run",
],
"flask.commands": ["export=tabgenie.cli:export", "sheet=tabgenie.cli:sheet", "info=tabgenie.cli:info"],
},
install_requires=install_requires,
extras_require={
"dev": [
"wheel",
"black",
],
"deploy": [
"gunicorn",
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
],
)