Add PyPI distribution infrastructure (pydqm)#19
Merged
Conversation
- add scikit-build-core build system with CMake for C++ compilation - add GitHub Actions workflows for building wheels (cibuildwheel) - update Makefile to auto-detect Homebrew libomp on macOS - rewrite installation docs for pip install - package name is 'pydqm' on PyPI, imports as 'dqm' Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- add workflow_call trigger to build-wheels.yml for reusability - add TestPyPI publishing option with manual trigger - fix package name in test install (dqm -> pydqm) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- remove macos-13 (retired), use macos-latest only - remove CIBW_BEFORE_ALL_LINUX (libgomp already available) - fix macOS delocate to exclude libomp.dylib - bump macOS deployment target to 11.0 (required for arm64) - drop Python 3.9, add Python 3.13 - update pyproject.toml to match Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- add libomp install step to Standard Installation for macOS - update Python requirement to 3.10 - improve troubleshooting for libomp errors - note that keg-only warning is expected Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- add __version__ to dqm package via importlib.metadata - add Python 3.13 to pyproject.toml classifiers - update build-wheels.yml comment about Python versions - add TODO comment to TestPyPI job - simplify version check in installation docs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable standard
pip install pydqmvia PyPI with pre-built binary wheels.Changes
pydqmon PyPI (imports asdqm) - the namedqmwas already takenFiles
cpp/CMakeLists.txt- CMake build configurationpyproject.toml- scikit-build-core backend, PyPI metadatacpp/Makefile- Updated to auto-detect Homebrew libomp on macOS.github/workflows/build-wheels.yml- cibuildwheel CI.github/workflows/publish.yml- PyPI trusted publishingdocs/installation.rst- Rewritten for pip installREADME.rst- Added installation sectiondqm/__init__.py- Added__version__.gitignore- Addeddist/Notes
brew install libomp(OpenMP not bundled in wheel)v0.1.0to trigger PyPI publishTest plan
🤖 Generated with Claude Code