Added
Link Here
|
0 |
- |
1 |
--- setup.py.orig 2022-07-21 12:47:45 UTC |
|
|
2 |
+++ setup.py |
3 |
@@ -0,0 +1,76 @@ |
4 |
+#!/usr/bin/env python3 |
5 |
+# -*- coding: utf-8 -*- |
6 |
+ |
7 |
+"""A setuptools based setup module. |
8 |
+See: |
9 |
+https://packaging.python.org/en/latest/distributing.html |
10 |
+https://github.com/pypa/sampleproject |
11 |
+""" |
12 |
+ |
13 |
+ |
14 |
+# To use a consistent encoding |
15 |
+from codecs import open |
16 |
+from os import path |
17 |
+ |
18 |
+# Always prefer setuptools over distutils |
19 |
+from setuptools import setup |
20 |
+ |
21 |
+description = ( |
22 |
+ "A Python package for retrieving, parsing, scanning, and " "sending emails" |
23 |
+) |
24 |
+here = path.abspath(path.dirname(__file__)) |
25 |
+ |
26 |
+# Get the long description from the README file |
27 |
+with open(path.join(here, "README.md"), encoding="utf-8") as f: |
28 |
+ long_description = f.read() |
29 |
+ |
30 |
+setup( |
31 |
+ name="mailsuite", |
32 |
+ # Versions should comply with PEP440. For a discussion on single-sourcing |
33 |
+ # the version across setup.py and the project code, see |
34 |
+ # https://packaging.python.org/en/latest/single_source_version.html |
35 |
+ version="1.9.9", |
36 |
+ description=description, |
37 |
+ long_description=long_description, |
38 |
+ # The project's main homepage. |
39 |
+ url="https://seanthegeek.github.io/mailsuite/", |
40 |
+ # Author details |
41 |
+ author="Sean Whalen", |
42 |
+ author_email="whalenster@gmail.com", |
43 |
+ # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
44 |
+ classifiers=[ |
45 |
+ # How mature is this project? Common values are |
46 |
+ # 3 - Alpha |
47 |
+ # 4 - Beta |
48 |
+ # 5 - Production/Stable |
49 |
+ "Development Status :: 5 - Production/Stable", |
50 |
+ # Indicate who your project is intended for |
51 |
+ "Intended Audience :: Developers", |
52 |
+ "Intended Audience :: Information Technology", |
53 |
+ "Operating System :: OS Independent", |
54 |
+ # Specify the Python versions you support here. In particular, ensure |
55 |
+ # that you indicate whether you support Python 2, Python 3 or both. |
56 |
+ "Programming Language :: Python :: 3", |
57 |
+ ], |
58 |
+ # What does your project relate to? |
59 |
+ keywords="email,SMTP,IMAP, YARA", |
60 |
+ # You can just specify the packages manually here if your project is |
61 |
+ # simple. Or you can use find_packages(). |
62 |
+ packages=["mailsuite"], |
63 |
+ # Alternatively, if you want to distribute just a my_module.py, uncomment |
64 |
+ # this: |
65 |
+ # py_modules=["mailsuite"], |
66 |
+ # List run-time dependencies here. These will be installed by pip when |
67 |
+ # your project is installed. For an analysis of "install_requires" vs pip's |
68 |
+ # requirements files see: |
69 |
+ # https://packaging.python.org/en/latest/requirements.html |
70 |
+ install_requires=[ |
71 |
+ "IMAPClient>=2.1.0", |
72 |
+ "mail-parser>=3.14.0", |
73 |
+ "dnspython>=2.0.0", |
74 |
+ "html2text>=2020.1.16", |
75 |
+ "publicsuffix2>=2.20190812", |
76 |
+ "expiringdict==1.2.2", |
77 |
+ "yara-python>=4.2.0", |
78 |
+ ], |
79 |
+) |