Skip to content

Publish to PyPI so pipx install windows-autoclicker works #118

Open

Description

@TMHSDigital

Why it matters

Python users and scripters (the CLI/headless audience) expect pipx install <name>. Today the README tells them to install from a git URL, which is slower, harder to pin and invisible to PyPI search.

Evidence

  • README:137-140 recommends pipx install git+https://github.com/TMHSDigital/autoclicker.git.
  • https://pypi.org/pypi/windows-autoclicker/json returns 404; the name is free.
  • pyproject.toml already has a complete [project] table and Packaging: icons missing from wheel/pipx installs; license metadata inconsistent #58 fixed wheel icons.

Suggested approach

  • Add a pypi job to the tag release using Trusted Publishing (OIDC, no stored token), building sdist + wheel with python -m build and running twine check.
  • Reserve the name now with a 1.6.x upload.
  • Update README and landing page install sections; add a PyPI badge.
  • Depends on the metadata cleanup issue so the PyPI page looks right.

Done when

pipx install windows-autoclicker installs the latest release, and the release workflow publishes automatically on tags.

Activity

  1. added
    priority: low
    packaging
    marketing
    on Oct 5, 2026
  2. TMHSDigital commented on Oct 6, 2026

    @TMHSDigital
    OwnerAuthor

    Pipeline is in (e49f72f). Every CI run now builds the sdist and wheel, runs twine check --strict and fails if the wheel holds anything but the autoclicker package. That check caught a real bug: include = ["autoclicker*"] also matched a local autoclicker_env/ virtualenv and produced a 3.2 MB wheel; it is now 205 KB. A pypi job publishes tags via Trusted Publishing (no stored token).

    Left for a maintainer, once:

    1. On PyPI, add a pending publisher for project windows-autoclicker: owner TMHSDigital, repository autoclicker, workflow ci.yml, environment pypi.
    2. In the repository settings, create the environment pypi and the repository variable PYPI_PUBLISH = true.
    3. Push the next tag, then add pipx install windows-autoclicker to the README.

    Details are in docs/RELEASING.md under Package managers. Closing this once the first upload lands.

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

    marketingpackagingpriority: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions