From 81c3812b3649bab5bbd86f2c0e59fb1dae9d6132 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 18 Nov 2025 14:17:50 +0100 Subject: [PATCH] Create a setup.py for setuptools 53.0 (RHEL9) --- setup.py | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0d5b859 --- /dev/null +++ b/setup.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python3 +"""Setup script for cepces.""" + +from pathlib import Path + +from setuptools import find_packages, setup + +# Read the long description from README +readme_file = Path(__file__).parent / "README.rst" +long_description = readme_file.read_text(encoding="utf-8") + +setup( + name="cepces", + version="0.3.16", + description="CEP/CES library.", + long_description=long_description, + long_description_content_type="text/x-rst", + author="Daniel Uvehag", + author_email="daniel.uvehag@gmail.com", + url="https://github.com/openSUSE/cepces", + project_urls={ + "Homepage": "https://github.com/openSUSE/cepces", + "Bug Tracker": "https://github.com/openSUSE/cepces/issues", + }, + license="GPLv3+", + license_files=["LICENSE"], + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Intended Audience :: System Administrators", + "Topic :: System :: Systems Administration", + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + ], + keywords=["certificate", "ca", "cep", "ces", "adcs", "wstep", "xcep"], + python_requires=">=3.8", + package_dir={"": "src"}, + packages=find_packages(where="src"), + install_requires=[ + "cryptography >= 1.2", + "requests", + "requests_gssapi >= 1.4.0", + ], + data_files=[ + ("libexec/certmonger", ["bin/cepces-submit"]), + ], + include_package_data=True, +) -- 2.51.1