forked from superdesk/superdesk-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
110 lines (105 loc) · 3.18 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#!/usr/bin/env python3
#
# This file is part of Superdesk.
#
# Copyright 2013-2020 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
from setuptools import setup, find_packages
LONG_DESCRIPTION = "Superdesk Server Core"
install_requires = [
# temporary requirement to get urllib in a version compatible with requests
# to be kept until requests update its requirements
# (cf. https://github.com/psf/requests/issues/5654
# and https://github.com/psf/requests/pull/5651)
"urllib3<1.26",
"eve==1.1.2",
"eve-elastic>=7.3.0,<7.4.0",
"flask>=1.1,<1.2",
"flask-mail>=0.9,<0.10",
"flask-script>=2.0.5,<3.0",
"flask-babel>=1.0,<1.1",
"pillow>=9.2,<9.3",
"arrow>=0.4,<=0.13",
"bcrypt>=3.1.1,<3.2",
"blinker>=1.3,<1.5",
"celery[redis]>=4.4.0,<4.5",
"cerberus>=1.3.2,<1.4",
"redis>=3.2.0,<3.3",
"kombu>=4.6,<4.7",
"feedparser>=6.0.8,<6.1",
"hachoir<=3.0a3",
"HermesCache>=0.10.0,<0.11.0",
"python-magic>=0.4,<0.5",
"ldap3>=2.2.4,<2.6",
"pytz>=2015.4",
"tzlocal>=2.1,<3.0",
"raven[flask]>=5.10,<7.0",
"requests>=2.7.0,<3.0",
"boto3>=1.26,<2.0",
"websockets==10.3",
"mongolock>=1.3.4,<1.4",
"PyYAML>=5.3.1,<6.0",
"lxml>=4,<4.7",
"python-twitter==3.5",
"chardet<4.0",
"pymongo>=3.8,<3.12",
"croniter<0.4",
"python-dateutil<2.8",
"unidecode==0.04.21",
"authlib>0.14,<0.15",
"draftjs-exporter[lxml]<2.2",
"werkzeug>=1.0,<1.1",
"regex==2020.7.14",
"flask-oidc-ex==0.5.5",
# to be replaced by stdlib version when we use Python 3.8+
"typing_extensions>=3.7.4",
"elastic-apm[flask]>=6.7,<7.0",
# Fix an issue with MarkupSafe 2.1.0 not exporting `soft_unicode`
"MarkupSafe<2.1",
]
package_data = {
"superdesk": [
"templates/*.txt",
"templates/*.html",
"locators/data/*.json",
"io/data/*.json",
"data_updates/*.py",
"data_updates/*.js",
"translations/*.po",
"translations/*.mo",
],
"apps": [
"prepopulate/*.json",
"prepopulate/data_init/*.json",
"io/data/*.json",
],
}
setup(
name="Superdesk-Core",
version="2.6.4",
description="Superdesk Core library",
long_description=LONG_DESCRIPTION,
author="petr jasek",
author_email="[email protected]",
url="https://github.com/superdesk/superdesk-core",
license="GPLv3",
platforms=["any"],
packages=find_packages(exclude=["tests*", "features*"]),
package_data=package_data,
include_package_data=True,
# setup_requires=["setuptools_scm"],
install_requires=install_requires,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
)