From de50fdbe6f23f52d3f1363017dbce341474230da Mon Sep 17 00:00:00 2001 From: Jonathan Greig Date: Wed, 25 Feb 2026 13:17:36 +0000 Subject: [PATCH 1/2] Specify packages explicitly in pyproject.toml to fix #535 --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ec90bc39..9238ddf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,10 @@ description = "libcloudforensics is a set of tools to help acquire forensic evid authors = ["cloud-forensics-utils development team "] license = "Apache-2.0" readme = "README.md" +packages = [ + { include = "libcloudforensics" }, + { include = "tools" }, +] [tool.poetry.scripts] cloudforensics = "tools.cli:Main" From 88e3c238cac4ee6aaf9da3bc04c6e0d9b78ada34 Mon Sep 17 00:00:00 2001 From: Jonathan Greig Date: Wed, 25 Feb 2026 13:20:19 +0000 Subject: [PATCH 2/2] Fix incorrect escaping in argparse calls --- tools/cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/cli.py b/tools/cli.py index f6d73b97..77e100a8 100644 --- a/tools/cli.py +++ b/tools/cli.py @@ -345,9 +345,10 @@ def Main() -> None: ('metrics', 'A comma separated list of metrics to query for ' 'the resource.', None), ('--from_date', 'A start date from which to lookup the ' - 'metrics. Format: %Y-%m-%dT%H:%M:%SZ', None), + 'metrics. Format: %%Y-%%m-%%dT%%H:%%M:%%SZ', + None), ('--to_date', 'An end date until which to lookup the metrics.' - 'Format: %Y-%m-%dT%H:%M:%SZ', None), + 'Format: %%Y-%%m-%%dT%%H:%%M:%%SZ', None), ('--interval', 'An interval for the metrics, e.g. PT1H will ' 'output metrics values with one hour ' 'granularity.', None),