-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
68 lines (64 loc) · 2.31 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
from setuptools import setup
from setuptools import find_packages
import re, sys
VERSIONFILE = 'certbot_castle/_version.py'
verstrline = open(VERSIONFILE, 'rt').read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
version = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
INSTALL_REQUIRES = [
'certbot>=1.20.0',
'acme>=1.20.0',
'setuptools',
'imapclient',
'dkimpy',
'cryptography>=3.3',
'psutil'
]
if sys.platform.startswith('win32'):
INSTALL_REQUIRES.append("pywin32")
setup(
name='certbot-castle',
packages=find_packages(),
version=version,
description='ACME E-mail S/MIME client for CASTLE Platform ACME',
license='GPLv3',
author="Pol Henarejos",
author_email='[email protected]',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Plugins',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Communications :: Email',
'Topic :: Security',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Networking',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
install_requires=INSTALL_REQUIRES,
include_package_data=True,
entry_points={
'certbot.plugins': [
'castle-interactive = certbot_castle.plugins.interactive:Authenticator',
'castle-installer = certbot_castle.plugins.installer:Installer',
'castle-imap = certbot_castle.plugins.imap:Authenticator',
'castle-mapi = certbot_castle.plugins.mapi:Authenticator',
'castle-tb = certbot_castle.plugins.thunderbird:Authenticator'
],
},
)