-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (49 loc) · 1.62 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
import subprocess
from setuptools import setup, find_packages
from codecs import open
from os import path
import re
here = path.abspath(path.dirname(__file__))
readme = path.join(here, 'Readme.md')
# Convert the README to reStructuredText for PyPI if pandoc is available.
# Otherwise, just read it.
try:
readme = subprocess.check_output(['pandoc', '-f', 'markdown',
'-t', 'rst', readme]).decode('utf-8')
except:
with open(readme, encoding='utf-8') as f:
readme = f.read()
setup(
name = 'certbot_inwx_hook',
version = "v1.0.2",
license = 'MIT',
description = "Hook for certbot manual mode and the INWX API",
long_description = readme,
url = 'https://github.com/faerbit/certbot_inwx_hook',
author = "Faerbit",
author_email = 'faerbit at gmail dot com',
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Operating System :: OS Independent',
],
packages = ['certbot_inwx_hook'],
install_requires = [
'dnspython',
],
entry_points = {
'console_scripts': [
'certbot_inwx_hook_deploy = certbot_inwx_hook.main:deploy',
'certbot_inwx_hook_cleanup = certbot_inwx_hook.main:cleanup',
],
},
package_data = {
"certbot_inwx_hook": ["certbot_inwx_hook.sample.ini"],
},
)