forked from gramps-project/gramps-web-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (60 loc) · 1.89 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
64
65
66
67
#
# Gramps Web API - A RESTful API for the Gramps genealogy program
#
# Copyright (C) 2020 David Straub
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md") as readme_file:
README = readme_file.read()
with open("gramps_webapi/_version.py") as version_file:
exec(version_file.read())
REQUIREMENTS = [
"Click>=7.0",
"Flask>=2.0.0",
"Flask-Caching>=2.0.0",
"Flask-Compress",
"Flask-Cors",
"Flask-JWT-Extended>=4.2.1, !=4.4.0, !=4.4.1",
"Flask-Limiter",
"marshmallow>=3.13.0",
"webargs",
"SQLAlchemy",
"pdf2image",
"Pillow",
"bleach>=5.0.0",
"tinycss2",
"whoosh",
"jsonschema",
"ffmpeg-python",
"boto3",
"alembic",
]
setup(
author="Gramps Development Team",
url="https://github.com/gramps-project/web-api",
python_requires=">=3.5",
description="A RESTful web API for the Gramps genealogical database.",
license="AGPL v3 or greater",
install_requires=REQUIREMENTS,
long_description=README,
long_description_content_type="text/markdown",
include_package_data=True,
name="gramps-webapi",
packages=find_packages(include=["gramps_webapi", "gramps_webapi.*"]),
version=__version__,
zip_safe=False,
)