File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,13 @@ def install
4040 # Match the version constraint from toolchain/pyproject.toml
4141 system venv /"bin/pip" , "install" , "--only-binary=:all:" , "cantera>=3.1.0"
4242
43+ # MFC's toolchain uses VCS-derived versioning (via Hatch/hatch-vcs) and Homebrew builds from
44+ # GitHub release tarballs without a .git directory. Provide a fallback/pretend version so
45+ # metadata generation succeeds during pip install.
46+ ENV [ "SETUPTOOLS_SCM_PRETEND_VERSION" ] = version . to_s
47+ ENV [ "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MFC" ] = version . to_s
48+ ENV [ "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_mfc" ] = version . to_s
49+
4350 # Install MFC Python package and dependencies into venv
4451 # Use editable install (-e) to avoid RECORD file issues when venv is symlinked at runtime
4552 # Dependencies will use pre-built wheels from PyPI
You can’t perform that action at this time.
0 commit comments