mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-08-22 19:04:35 +00:00

Rewrite swtpm-localca in python and get rid of the bash file and the flock dependency. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
27 lines
749 B
Python
Executable File
27 lines
749 B
Python
Executable File
#!/usr/bin/env python3
|
|
""" setup.py
|
|
|
|
Install swtpm-localca
|
|
"""
|
|
import setuptools
|
|
|
|
from py_swtpm_localca.swtpm_localca_conf import SWTPM_VER_MAJOR, SWTPM_VER_MINOR, SWTPM_VER_MICRO
|
|
|
|
setuptools.setup(
|
|
name="swtpm-localca",
|
|
version="%d.%d.%d" % (SWTPM_VER_MAJOR, SWTPM_VER_MINOR, SWTPM_VER_MICRO),
|
|
author="Stefan Berger et al.",
|
|
author_email="stefanb@linux.ibm.com",
|
|
url="https::/github.com/stefanberger/swptm",
|
|
#packages=setuptools.find_packages(),
|
|
description="A local CA for creating TPM 1.2 and TPM 2 EK and platform certificates",
|
|
python_requires=">=3.2",
|
|
packages=["py_swtpm_localca"],
|
|
package_dir={
|
|
"py_swtpm_localca": "py_swtpm_localca"
|
|
},
|
|
license="BSD3",
|
|
install_requires=[
|
|
],
|
|
)
|