Skip to content

Commit

Permalink
Install Python interface from the wheel on nix
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed May 26, 2022
1 parent d8ccbfd commit 81fdfec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cantera/build_py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ echo "******************************"
if [ -d "build/python" ]; then
rm -r build/python
rm -r build/temp-py
rm $PREFIX/bin/ck2cti || true
rm $PREFIX/bin/ck2yaml || true
rm $PREFIX/bin/ctml_writer || true
rm $PREFIX/bin/cti2yaml || true
rm $PREFIX/bin/ctml2yaml || true
fi

${BUILD_PREFIX}/bin/python `which scons` build python_package='y' python_cmd="${PYTHON}"

$PYTHON -m pip install --no-deps build/python
$PYTHON -m pip install --no-deps --find-links=build/python/dist cantera

if [[ "$target_platform" == osx-* ]]; then
VERSION=$(echo $PKG_VERSION | cut -da -f1 | cut -db -f1 | cut -dr -f1)
Expand Down

0 comments on commit 81fdfec

Please sign in to comment.