Skip to content

Comments

New build system that includes smelib#73

Open
ivh wants to merge 33 commits intoMingjieJian:masterfrom
ivh:master
Open

New build system that includes smelib#73
ivh wants to merge 33 commits intoMingjieJian:masterfrom
ivh:master

Conversation

@ivh
Copy link

@ivh ivh commented Dec 19, 2025

Hi!
This is a full revamp of the build system, using scikit-build-core now, and including smelib from the start, so that it does not need to be downloaded or compiled at runtime. So no more wget needed, or hardcoded call to pip, which caused error for me when running with uv instead of pip.

The wheels seem to build correctly with the updated GitHub Action, see
https://github.com/ivh/PySME/releases/tag/v0.5.0a1

I'm not suggesting that you should merge this immediately, but maybe have a look when you find the time, and let me know what you think?

cheers
/thomas

ivh and others added 28 commits December 18, 2025 18:13
- Replace setuptools with scikit-build-core + CMake
- Build smelib from submodule (switched to MingjieJian/SMElib)
- Remove runtime download/compile logic
- Add GitHub Actions workflow for multi-platform wheels

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use chocolatey to install mingw on Windows
- Remove branch triggers, keep only tags and workflow_dispatch

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Extract wheel to find libsme.dll for delvewheel

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use dependency-groups instead of optional-dependencies
- Add development guide with build/release info

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add missing 'os' import in sme_synth.py
- Handle array-to-scalar conversion in gaussbroad()
- Add dev symlinks to .gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
libtools.py now checks both installed and source locations
for data files and libraries, so development works without
manual symlink setup.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- broadening.py: Convert hwhm to scalar in gaussbroad()
- continuum_and_radial_velocity.py: Squeeze single-segment MCMC results

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Only include smelib/src and smelib/pymodule (what CMake needs).
Avoids absolute symlinks from autotools bootstrap.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace ~bool with not bool (deprecated in Python 3.16)
- Use go.Figure instead of go.FigureWidget when not in notebook
- Fix unclosed file in persistence.py
- Suppress expected divide-by-zero in MCMC probability calc
ivh and others added 4 commits January 27, 2026 08:35
Delete versioneer, setup.py/cfg, MANIFEST.in, .isort.cfg
(now using scikit-build-core with pyproject.toml).

Fix CLAUDE.md and README.md to clarify that uv sync is
sufficient for local dev, not uv build.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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