Skip to content

Add PyPI publishing workflow and CI tests#17

Merged
lewiswigmore merged 1 commit into
mainfrom
setup-pypi-publish
Apr 12, 2026
Merged

Add PyPI publishing workflow and CI tests#17
lewiswigmore merged 1 commit into
mainfrom
setup-pypi-publish

Conversation

@lewiswigmore

Copy link
Copy Markdown
Owner

Fixes build configuration and adds GitHub Actions workflows for PyPI publishing and CI testing.

Build fixes:

  • Fix build-backend to setuptools.build_meta
  • Add missing runtime deps (ratelimit, tabulate)
  • Remove duplicate license classifier (PEP 639 conflict)
  • Add py-modules for standalone module packaging

New workflows:

  • publish.yml: publishes to PyPI on GitHub release using trusted publishers (OIDC)
  • tests.yml: runs test suite on PRs and pushes to main (Python 3.9/3.12 on Ubuntu/Windows)

Tested locally:

  • Package builds successfully (sdist + wheel)
  • Install/uninstall/upgrade all work
  • CLI entry point works (virusxcheck --help)
  • All 82 tests pass (81 passed, 1 skipped on Windows)

Closes #7

- Fix build-backend to setuptools.build_meta
- Add missing runtime deps (ratelimit, tabulate) to pyproject.toml and requirements.txt
- Remove duplicate license classifier (PEP 639 conflict)
- Add py-modules for standalone module packaging
- Add publish.yml workflow using PyPI trusted publishers (OIDC)
- Add tests.yml workflow for CI on PRs and push to main

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lewiswigmore lewiswigmore merged commit 9c07884 into main Apr 12, 2026
6 checks passed
@lewiswigmore lewiswigmore deleted the setup-pypi-publish branch April 12, 2026 19:02
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.

Publish to PyPI

1 participant