-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (48 loc) · 1.58 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
"""
Setuptools based setup module
"""
from setuptools import setup, find_packages
from pathlib import Path
import versioneer
setup(
name="gmailsorter",
version=versioneer.get_version(),
description="Assign labels to emails in Google Mail based on their similarity to other emails assigned to the same label.",
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
url="https://github.com/jan-janssen/gmailsorter",
author="Jan Janssen",
author_email="jan.janssen@outlook.com",
license="BSD",
packages=find_packages(exclude=["*tests*"]),
package_data={
'gmailsorter': [
'webapp/static/css/*.css',
'webapp/static/fonts/poppins/*.ttf',
'webapp/static/images/*.jpg',
'webapp/static/images/icons/*.ico',
'webapp/templates/*.html'
],
},
install_requires=[
"google-api-python-client==2.149.0",
"google-auth==2.35.0",
"google-auth-oauthlib==1.2.1",
"numpy==2.1.2",
"tqdm==4.66.6",
"pandas==2.2.3",
"scikit-learn==1.5.2",
"sqlalchemy==2.0.36",
],
extras_require={
"webapp": ['gunicorn==23.0.0', "flask==3.0.3", "flask-login==0.6.3"],
},
cmdclass=versioneer.get_cmdclass(),
entry_points={
"console_scripts": [
'gmailsorter=gmailsorter.__main__:command_line_parser',
'gmailsorter-daemon=gmailsorter.daemon.__main__:command_line_parser',
'gmailsorter-app=gmailsorter.webapp.app:run_app'
]
}
)