-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
69 lines (61 loc) · 1.75 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
69
import os
from setuptools import find_packages
from setuptools import setup
version = '3.0.2'
cb_required = '3.0.0'
install_requires = [
'setuptools>=41.6.0',
'inwx-domrobot>=3.2.0',
]
if os.environ.get('SNAP_BUILD'):
install_requires.extend([
'packaging',
'dnspython',
])
else:
install_requires.extend([
f'acme>={cb_required}',
f'certbot>={cb_required}',
])
test_extras = [
'pytest',
]
extras_require = {
'CNAME': ['dnspython'],
'test': test_extras,
}
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='certbot-dns-inwx',
version=version,
description="INWX DNS Authenticator plugin for Certbot",
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/oGGy990/certbot-dns-inwx',
author="Oliver Ney",
author_email='[email protected]',
license='Apache License 2.0',
install_requires=install_requires,
extras_require=extras_require,
python_requires='>=3.8',
packages=find_packages(),
entry_points={
'certbot.plugins': [
'dns-inwx = certbot_dns_inwx._internal.dns_inwx:Authenticator',
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: System Administrators",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: Security :: Cryptography",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Networking",
"Topic :: System :: Systems Administration",
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
"Operating System :: OS Independent",
]
)