-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
setup.py
90 lines (75 loc) · 2.76 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
"""setup script."""
from setuptools import setup, find_packages
import os
import glob
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf8') as f:
long_description = f.read()
with open(os.path.join(this_directory, 'requirements.txt')) as f:
requirements = f.readlines()
with open(os.path.join(this_directory, 'requirements-test.txt')) as f:
requirements_test = f.readlines()
with open(os.path.join(this_directory, 'requirements-flake.txt')) as f:
requirements_flake = f.readlines()
with open(os.path.join(this_directory, 'requirements-docs.txt')) as f:
requirements_docs = f.readlines()
requirements_gdrive = [
"PyDrive2~=1.15.0",
"PyYAML~=6.0",
]
requirements_generate = [
"scipy~=1.12.0",
"python-lorem==1.2.0",
]
requirements_full = requirements_gdrive + requirements_generate
extras_require = {
"gdrive": requirements_gdrive,
"generate": requirements_generate,
"full": requirements_full,
"dev": requirements_test + requirements_flake + requirements_docs,
}
setup(
name='whatstk',
version="0.7.1",
description="Parser and analytics tools for WhatsApp group chats",
long_description=long_description,
long_description_content_type='text/markdown',
url='http://github.com/lucasrodes/whatstk',
author='Lucas Rodes-Guirao',
license='GPL-v3',
install_requires=requirements,
packages=find_packages('.'),
package_dir={'': '.'},
py_modules=[os.path.splitext(os.path.basename(path))[0] for path in glob.glob('./*.py')],
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
keywords='whatsapp analysis parser chat',
project_urls={
'Documentation': 'https://whatstk.readthedocs.io/en/stable/',
'Github': 'http://github.com/lucasrodes/whatstk',
'Bug Tracker': 'https://github.com/lucasrodes/whatstk/issues',
},
python_requires='>=3.7',
entry_points={
'console_scripts': [
'whatstk-generate-chat=whatstk.scripts.generate_chats:main',
'whatstk-to-csv=whatstk.scripts.txt_to_csv:main',
'whatstk-graph=whatstk.scripts.graph:main'
]
},
package_data = {
'whatstk': ['whatsapp/assets/header_format_support.json'],
},
extras_require=extras_require,
)