Skip to content

Packaging: icons missing from wheel/pipx installs; license metadata inconsistent #58

Closed

Description

@TMHSDigital

Summary

Installing the package (pip install ., pipx install git+https://github.com/TMHSDigital/autoclicker) works, but the result is degraded, and the package metadata contradicts itself.

  1. Icons aren't packaged. [tool.setuptools.package-data] autoclicker = ["*.ico", "*.png"] matches files inside autoclicker/, but the icons live at the repo root (and .gitignore ignores *.ico/*.png; the tracked copies were force-added). An installed copy gets no window icon and a red-square tray icon (app/tray.py:23 fallback). core/resources.py only works because it also searches the source checkout root.
  2. License metadata. license = {text = "CC-BY-NC-4.0"} uses the table form that current setuptools deprecates in favor of an SPDX string (license = "CC-BY-NC-4.0", PEP 639), and the classifier says License :: Other/Proprietary License.
  3. Development Status :: 5 - Production/Stable is a strong claim given the open safety bugs (Click queuing: Stop (F7) keeps clicking, and later runs never click #38, Validation silently rewrites bad input (e.g. interval -500 runs at max speed) #39).

Also worth deciding

Creative Commons recommends against using CC licenses for software: they don't address source/object code or patents. If the non-commercial restriction is the goal, PolyForm Noncommercial 1.0.0 is a software-specific alternative. If reach is the goal, an OSI license (MIT/Apache-2.0) makes the app eligible for package managers' main buckets and for contributors' employers. This is the maintainer's call; it's listed here so it gets decided on purpose.

Suggested approach

  • Move autoclicker.ico/.png into autoclicker/assets/, update package-data, resources.py, the PyInstaller spec, and create_icon.py, and fix the .gitignore exception.
  • Switch to SPDX license + license-files, and drop the contradictory classifier.
  • Add a README "Install with pipx" line once icons ship correctly.

Done when

A wheel built with python -m build contains the icons, pipx install shows the real tray icon, and pip install . produces no license deprecation warnings.

Activity

  1. added
    bug
    priority: low
    packaging
    on Oct 4, 2026
  2. TMHSDigital commented on Oct 4, 2026

    @TMHSDigital
    OwnerAuthor

    Fixed in 4361c18: icons ship in autoclicker/assets/ (verified in the built wheel and the PyInstaller exe), new reproducible icon, PEP 639 license metadata. Not changed on purpose: the license itself (CC BY-NC 4.0) and the 'Production/Stable' classifier. Those are maintainer decisions; the open safety bugs that made the classifier questionable are now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpackagingpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions