-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (36 loc) · 1.28 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
from setuptools import setup
# load version without importing
import re
src = open("sysca/__init__.py", "r").read()
version = re.search(r"""^__version__\s*=\s*['"]([^'"]+)['"]""", src, re.M).group(1)
# load description
longdesc = open("README.rst", "r").read().split("\nCommands\n")[0].strip()
desc = longdesc.splitlines()[0].split("-", 1)[1].strip()
setup(
name="sysca",
version=version,
description=desc,
long_description=longdesc,
author="Marko Kreen",
license="ISC",
author_email="[email protected]",
url="https://github.com/markokr/sysca",
packages=["sysca"],
entry_points={
"console_scripts": ["sysca=sysca.tool:main"],
},
package_data={"sysca": ["py.typed"]},
zip_safe=True,
install_requires=["cryptography>=3.1"],
keywords=["x509", "tls", "ssl", "certificate", "authority", "command-line", "server", "authentication"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Security :: Cryptography",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
)