From 84281a6c0156be9c675633976c785a3bdf2c76e9 Mon Sep 17 00:00:00 2001 From: Andrew Hills Date: Fri, 5 Jul 2024 12:30:59 -0400 Subject: [PATCH] Add dependency information to setup.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only the RPM spec file includes package dependency information, which makes the repository difficult to work with in other packaging contexts. The initial list was extracted from the spec file: ``` rpmspec --query --requires ./charon.spec \ | sed -n -e "s/^$(rpmspec -E 'python%{python3_pkgversion}-')\(.*\)$/\"\1\",/p" ``` However, two transformations were performed by hand: - `dateutil` → `python-dateutil` - `ruamel-yaml` → `ruamel.yaml` --- setup.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/setup.py b/setup.py index 0c11c688..75495a6f 100755 --- a/setup.py +++ b/setup.py @@ -50,4 +50,33 @@ entry_points={ "console_scripts": ["charon = charon.cmd:cli"], }, + install_requires=[ + "attrs", + "boto3", + "botocore", + "certifi", + "cffi", + "chardet", + "click", + "cryptography", + "python-dateutil", + "defusedxml", + "idna", + "importlib-metadata", + "jinja2", + "jmespath", + "jsonschema", + "markupsafe", + "pyOpenSSL", + "pycparser", + "pyrsistent", + "requests", + "ruamel.yaml", + "s3transfer", + "semantic-version", + "six", + "subresource-integrity", + "urllib3", + "zipp", + ], )