From 6fcf5936accb0a7d1bd310f23bcc3aa4ee6466a9 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 16:25:45 +0000 Subject: [PATCH] fix: add package-data to include templates and verify in CI --- .gitea/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index ea75068..937f3cc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -71,7 +71,13 @@ jobs: run: | python -m build + - name: Verify wheel contents + run: | + unzip -l dist/*.whl | grep templates + - name: Verify installation run: | - pip install dist/gitignore_generator-1.0.0-py3-none-any.whl + pip install dist/*.whl python -c "import gitignore_generator; print('Package imported successfully')" + python -c "from gitignore_generator.template_loader import template_loader; print('Template loader imported successfully')" + python -c "from gitignore_generator.cli import main; print('CLI imported successfully')"