Skip to content

Commit

Permalink
Prevent installation of cantera from PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Aug 9, 2022
1 parent 81fdfec commit 8dc548f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cantera/build_py.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ echo ****************************
echo PYTHON %PYTHON% BUILD COMPLETED SUCCESSFULLY
echo ****************************

"%PYTHON%" -m pip install --no-deps --find-links=build\python\dist\ cantera
"%PYTHON%" -m pip install --no-deps --no-index --find-links=build\python\dist\ cantera
IF ERRORLEVEL 1 EXIT 1
2 changes: 1 addition & 1 deletion cantera/build_py.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

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

$PYTHON -m pip install --no-deps --find-links=build/python/dist cantera
$PYTHON -m pip install --no-deps --no-index --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
3 changes: 2 additions & 1 deletion cantera/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ outputs:
commands:
# The version of pytest available from the default channel does not support
# Python 3.10
- pytest -vv --pyargs cantera.test # [not py==310]
# todo: update, as tests are not packaged with Python module
# - pytest -vv --pyargs cantera.test # [not py==310]
- cti2yaml --help
- ck2yaml --help
- ctml2yaml --help
Expand Down

0 comments on commit 8dc548f

Please sign in to comment.