-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (51 loc) · 1.53 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
# -*- coding: utf-8 -*-
from setuptools import setup
long_description = "\n\n".join(
[
open("README.rst").read(),
open("CONTRIBUTORS.rst").read(),
open("CHANGES.rst").read(),
]
)
setup(
name="imio.email.parser",
version="0.2.1.dev0",
packages=["imio", "imio.email", "imio.email.parser"],
package_dir={"": "src"},
url="https://pypi.org/project/imio.email.parser",
license="GPL",
author="Nicolas Demonté",
author_email="support@imio.be",
description="This parser extracts forwarded attached email, embedded images and attachments. "
"It also generates a PDF from the email.",
keywords="email parser pdf attachment",
long_description=long_description,
classifiers=[
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
],
python_requires=">=3.9, <3.10",
install_requires=[
"mail-parser",
"beautifulsoup4>=4.6.3",
"email2pdf2",
"html5lib",
"lxml",
"pathvalidate",
"pypdf2",
"python-magic",
"reportlab",
"requests",
"six",
],
entry_points="""
[console_scripts]
emailtopdf = imio.email.parser.main:main
""",
)