Skip to content

Include PNG assets in package distribution#530

Merged
jmtts merged 2 commits into
mainfrom
claude/blissful-mayer-k63ZW
May 27, 2026
Merged

Include PNG assets in package distribution#530
jmtts merged 2 commits into
mainfrom
claude/blissful-mayer-k63ZW

Conversation

@werk24
Copy link
Copy Markdown
Contributor

@werk24 werk24 commented May 27, 2026

Summary

This change ensures that PNG asset files are included in the distributed Python package by configuring setuptools package data.

Key Changes

  • Added [tool.setuptools.package-data] configuration to pyproject.toml
  • Specified that all PNG files in the assets/ directory should be included in the werk24 package distribution

Implementation Details

The configuration uses setuptools' package-data mechanism to explicitly declare that *.png files from the assets/ directory are data files that should be packaged with the werk24 module. This ensures these assets are available when the package is installed via pip or other package managers, rather than only being present in the source repository.

https://claude.ai/code/session_01HWtfixTiB4NgTDZA4XLEQ4

claude added 2 commits May 27, 2026 12:18
The DRAWING_SUCCESS.png asset was present in the source tree but missing
from installed packages because pyproject.toml lacked package-data
configuration. Setuptools only includes .py files by default.

https://claude.ai/code/session_01HWtfixTiB4NgTDZA4XLEQ4
@jmtts jmtts merged commit f91c35f into main May 27, 2026
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants