Skip to content

Install from PyPI: pip install cpp-xer-parser (v0.6.1) - #1

Merged
danafitkowski merged 1 commit into
mainfrom
packaging/pypi
Nov 9, 2026
Merged

danafitkowski merged 1 commit into
mainfrom
packaging/pypi

Conversation

@danafitkowski

Copy link
Copy Markdown
Owner

Packaging for PyPI: pip install cpp-xer-parser. Nothing the parser computes changes.

  • pyproject.toml maps scripts/ to the package cpp_xer_parser, so from cpp_xer_parser import parse_xer works and validation / config_profiles do not install as top-level modules. The command cpp-xer-parser runs the parser's command line. A clone with scripts/ on sys.path works as before.
  • publish.yml runs on a published GitHub release. It tests the commit, builds, runs twine check, installs the wheel in a clean environment and parses a schedule with it, checks that the tag names the version and that the changelog dates it, then uploads by PyPI trusted publishing. No token is stored.
  • CI: the test matrix now covers Python 3.10 to 3.15, and a package job installs the wheel on 3.10 and 3.15 and uses it.

Reviewed by Codex and Claude AI (five rounds; the last: no findings). Plan: release v0.6.1 from this branch's tip once CI is green, check the upload on PyPI, then merge.

🤖 Generated with Claude Code

pyproject.toml maps scripts/ to the package cpp_xer_parser, so
`from cpp_xer_parser import parse_xer` works and validation/config_profiles
do not land at the top level of an environment. The command cpp-xer-parser
runs the parser's command line. xer_parser.py binds its two helpers from the
package when installed, else as top-level modules, so a clone with scripts/
on sys.path works as before.

publish.yml builds, checks the release tag names the version, and uploads on
a published GitHub release by PyPI trusted publishing: no token is stored.
CI builds the wheel, installs it in a clean environment and runs the command.
MANIFEST.in ships the CHANGELOG the packaging test reads.

Reviewed by Codex and Claude AI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@danafitkowski
danafitkowski merged commit 5d1d050 into main Nov 9, 2026
22 checks passed
@danafitkowski
danafitkowski deleted the packaging/pypi branch November 9, 2026 14:19

This branch was successfully deployed

1 active deployment
pypi — 1ce6d882 Deployed Nov 9, 2026 by danafitkowski via Publish to PyPI #1
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.

1 participant