forked from rkoopmans/python-certificate-chain-resolver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (40 loc) · 1.55 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
import setuptools
import os
from cert_chain_resolver import __version__
DIR = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(DIR, "README.md"), "r") as fh:
long_description = fh.read()
with open(os.path.join(DIR, "requirements.txt"), "r") as fh:
reqs = fh.readlines()
setuptools.setup(
name="cert_chain_resolver",
version=__version__,
author="Remco Koopmans",
author_email="[email protected]",
description="Resolve / obtain the certificate intermediates of a x509 cert",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/rkoopmans/python-certificate-chain-resolver",
packages=setuptools.find_packages(),
package_data={"cert_chain_resolver": ["py.typed"]},
install_requires=reqs,
entry_points={
"console_scripts": ["cert-chain-resolver = cert_chain_resolver.cli:main"]
},
license="MIT",
license_file="LICENSE.txt",
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)