forked from digitalmethodsinitiative/4cat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
88 lines (82 loc) · 1.96 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
from setuptools import setup
import os
with open("README.md", 'r') as readmefile:
readme = readmefile.read()
with open("VERSION") as versionfile:
version = versionfile.readline().strip()
# Universal packages
packages = [
"anytree~=2.8.0",
"bcrypt~=3.2.0",
"beautifulsoup4~=4.11.0",
"clarifai-grpc~=9.0",
"cryptography>=39.0.1",
"cssselect~=1.1.0",
"datedelta~=1.4.0",
"dateparser~=1.1.0",
"flag",
"Flask~=2.2",
"Flask_Limiter==1.0.1",
"Flask_Login~=0.6",
"gensim>=4.1.0, <4.2",
"google_api_python_client==2.0.2",
"html2text==2020.*",
"ImageHash~=4.2.0",
"jieba~=0.42",
"json_stream",
"lxml~=4.9.0",
"markdown==3.0.1",
"markdown2==2.4.2",
"nltk==3.6.7",
"networkx~=2.8.0",
"numpy>=1.19.2",
"opencv-python>=4.6.0.66",
"packaging",
"pandas==1.5.3",
"Pillow~=9.1",
"praw~=7.0",
"prawcore~=2.0",
"psutil~=5.0",
"psycopg2~=2.9.0",
"pyahocorasick~=1.4.0",
"PyMySQL~=1.0",
"PyTumblr==0.1.0",
"requests~=2.27",
"requests_futures",
"scikit-learn",
"scenedetect==0.6.0.3",
"shapely",
"spacy==3.4.3",
"svgwrite~=1.4.0",
"typing_extensions<4.6.0",
"tailer",
"Telethon~=1.25.2",
"typing_extensions<4.6.0",
"ural~=0.33",
"unidecode~=1.3",
"Werkzeug~=2.2",
"wordcloud~=1.8",
"videohash @ https://github.com/dale-wahl/videohash/archive/refs/heads/main.zip",
"vk_api",
"yt-dlp",
"en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.1/en_core_web_sm-3.4.1.tar.gz#egg=en_core_web_sm"
]
# Some packages don't run on Windows
unix_packages = [
"python-daemon==2.3.2"
]
if os.name != "nt":
packages = packages + unix_packages
setup(
name='fourcat',
version=version,
description=('4CAT: Capture and Analysis Tool is a comprehensive tool for '
'analysing discourse on online social platforms'),
long_description=readme,
author="Open Intelligence Lab",
author_email="[email protected]",
url="https://oilab.eu",
packages=['backend', 'webtool', 'datasources'],
python_requires='>=3.7',
install_requires=packages,
)