-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·54 lines (48 loc) · 2.36 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
#! /usr/bin/python3
# -*- coding:Utf-8 -*-
from setuptools import setup
import os
images = [os.path.join("checkmailslib/images/", img) for img in os.listdir("checkmailslib/images/")]
data_files = [("/usr/share/applications", ["checkmails.desktop"]),
("/usr/share/checkmails/images/", images),
("/usr/share/doc/checkmails/", ["README.rst", "changelog"]),
("/usr/share/man/man1", ["checkmails.1.gz"]),
("/usr/share/locale/en_US/LC_MESSAGES/", ["checkmailslib/locale/en_US/LC_MESSAGES/checkmails.mo"]),
("/usr/share/locale/fr_FR/LC_MESSAGES/", ["checkmailslib/locale/fr_FR/LC_MESSAGES/checkmails.mo"]),
("/usr/share/pixmaps", ["checkmails.svg"])]
with open("checkmailslib/version.py") as file:
exec(file.read())
setup(name="checkmails",
version=__version__,
description="System tray unread mail checker",
author="Juliette Monsel",
author_email="[email protected]",
license="GPLv3",
url="https://sourceforge.net/projects/checkmails",
packages=['checkmailslib', 'checkmailslib.trayicon'],
package_data={'checkmailslib': ["packages.tcl"]},
scripts=["checkmails"],
data_files=data_files,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: X11 Applications',
'Intended Audience :: End Users/Desktop',
'Topic :: Communications :: Email',
'Topic :: Office/Business',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Natural Language :: English',
'Natural Language :: French',
'Operating System :: POSIX :: Linux',
],
long_description="""
CheckMails periodically looks for unread mails and displays the total number
of unread mails in the system tray icon. Several mailboxes can be configured.
The number of unread mails for each mailbox is detailed in a notification
that appears when clicking on the icon and after a check. This application
supports only IMAP protocol with SSL encryption. The connection information
for each mailbox is stored in an encrypted file using a master password.
""",
install_requires=["pycryptodome", 'Pillow'])