You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Cantera dependency and pre-install Python venv
Install Cantera and create a Python virtual environment during formula
installation, eliminating the need for mfc to create its own venv on
first run. This enables full functionality immediately after installation.
Changes to formula:
- Add cantera as a runtime dependency
- Move [email protected] from build-only to runtime dependency
- Create Python venv in libexec/venv during installation
- Install MFC Python package and all dependencies into venv
- Update wrapper to activate pre-installed venv
- Link venv into build directory so mfc.sh uses existing environment
- Add venv verification to test block
- Re-enable mfc --help test since venv is ready
Changes to CI:
- Add cantera to dependency installation step
- Verify venv contains cantera and mfc packages
Benefits:
- mfc commands work immediately (no setup on first run)
- All examples including those requiring Cantera work out of the box
- Much faster execution since venv is reused
- No cantera==3.1.0 not found errors
0 commit comments