add some preferences

This commit is contained in:
emdee 2024-02-18 19:23:42 +00:00
parent 1555e20459
commit 5e99216cf2
8 changed files with 503 additions and 25 deletions

View file

@ -47,9 +47,23 @@ bandit:
rsync::
bash .rsync.sh
install::
install:: install-pip
install-setup::
# deprecated
${PYTHON_EXE_MSYS} -W ignore::DeprecationWarning \
setup.py install \
--prefix ${PREFIX}
install-pip::
# we install --nodeps because pip is installing stuff we already have in the OS
${PIP_EXE_MSYS} --python ${PYTHON_EXE_MSYS} install \
--no-deps \
--no-deps --no-index \
--target ${PREFIX}/lib/python${PYTHON_MINOR}/site-packages/ \
--upgrade .
veryclean:: clean
rm -rf build dist $(MOD).egg-info
clean::
find . -type f -name \*~ -delete