-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·56 lines (52 loc) · 1.64 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
#!/usr/bin/env python
import sys
from os import path
from codecs import open
from setuptools import setup, find_packages
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
setup_requires = []
if needs_pytest:
setup_requires.append("pytest-runner")
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="certsign",
version="0.4.1",
description="A tiny ACME (Let's Encrypt) Python 2 & 3 client library with minimal dependencies",
author="Nils Fredrik Gjerull",
author_email="[email protected]",
url="https://github.com/unioslo/certsign",
keywords="acme letsencrypt",
long_description=long_description,
license="BSD",
packages=find_packages(exclude=["tests"]),
install_requires=[
"setuptools>=40.0",
],
setup_requires=setup_requires,
tests_require=[
"pytest",
],
extras_require={
"dev": ["pytest", "wheel", "tox", "twine"],
},
entry_points={
"console_scripts": [
"certsign = certsign.cli:main",
"certsign-server = certsign.cli:server_main",
"certsign-tool = certsign.cli:tool_main"
]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Security",
],
)