-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·66 lines (60 loc) · 1.61 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
#!/usr/bin/python
import os
import sys
from setuptools import setup
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
config = dict(
name="wile",
author="Leo Antunes",
author_email="leo@costela.net",
description=("A stripped down Let's Encrypt (ACME) client"),
license="GPLv3",
keywords="letsencrypt acme ssl",
url="https://github.com/costela/wile",
packages=['wile'],
setup_requires=[
'pytest-runner',
],
install_requires=[
'six',
'acme >= 0.21.0, != 0.22.0',
'click >= 7.0, < 8.0',
'pyOpenSSL',
'cryptography',
'setuptools_scm', # for run-time version-detect
'paramiko',
'josepy',
],
tests_require=[
'backports.tempfile;python_version<"3.0"',
'mock',
'pytest',
'pytest-datafiles',
'testfixtures',
],
entry_points={
'console_scripts': [
'wile = wile:main',
],
},
long_description=read('README.md'),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Internet :: Name Service (DNS)',
'Topic :: Security :: Cryptography',
'Topic :: Utilities',
],
)
if 'sdist' in sys.argv or 'bdist_wheel' in sys.argv:
config.update(dict(
use_scm_version=True,
))
config['setup_requires'] += [
'setuptools_scm',
]
setup(**config)