fix: add package-data to include templates and verify in CI
This commit is contained in:
@@ -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')"
|
||||
|
||||
Reference in New Issue
Block a user