From 90617bf84fb430655404b87033d2fc49f4847116 Mon Sep 17 00:00:00 2001 From: ramikg <72725910+ramikg@users.noreply.github.com> Date: Mon, 21 Oct 2024 20:12:24 +0300 Subject: [PATCH] Add missing certificate to package --- linkplay_cli/{ => certs}/linkplay_client.pem | 0 linkplay_cli/config.py | 2 +- setup.py | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) rename linkplay_cli/{ => certs}/linkplay_client.pem (100%) diff --git a/linkplay_cli/linkplay_client.pem b/linkplay_cli/certs/linkplay_client.pem similarity index 100% rename from linkplay_cli/linkplay_client.pem rename to linkplay_cli/certs/linkplay_client.pem diff --git a/linkplay_cli/config.py b/linkplay_cli/config.py index bef8f3f..1571178 100644 --- a/linkplay_cli/config.py +++ b/linkplay_cli/config.py @@ -3,7 +3,7 @@ get_request_timeout_seconds = 5 upnp_discover_timeout_message = 5 configuration_file_path = Path.home() / '.linkplaycli.config' -client_certificate_path = Path(__file__).parent / 'linkplay_client.pem' +client_certificate_path = Path(__file__).parent / 'certs/linkplay_client.pem' log_key = b'wiimulogsecure\x00\x00' log_chunk_size = 10240 maximum_number_of_alarms = 3 diff --git a/setup.py b/setup.py index f463652..f369061 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,9 @@ url='https://github.com/ramikg/linkplay-cli', version='0.0.7', packages=find_packages(), + package_data={ + '': ['certs/*'], + }, install_requires=[ 'async_upnp_client', 'beautifulsoup4',