2024-01-15 11:09:20 +00:00
|
|
|
PREFIX=/usr/local
|
2024-01-17 14:12:46 +00:00
|
|
|
PYTHON_EXE_MSYS=${PREFIX}/bin/python3.bash
|
2024-01-15 11:09:20 +00:00
|
|
|
LOCAL_DOCTEST=${PREFIX}/bin/toxcore_run_doctest3.bash
|
|
|
|
DOCTEST=${LOCAL_DOCTEST}
|
|
|
|
MOD=exclude_badExits
|
|
|
|
|
|
|
|
check::
|
|
|
|
sh python3.sh -c "import ${MOD}"
|
|
|
|
|
|
|
|
lint::
|
|
|
|
sh .pylint.sh
|
|
|
|
|
|
|
|
install::
|
|
|
|
pip3.sh install --target ${PREFIX}/lib/python3.11/site-packages/ --upgrade .
|
|
|
|
|
|
|
|
rsync::
|
|
|
|
bash .rsync.sh
|
|
|
|
|
2024-01-17 14:12:46 +00:00
|
|
|
test::
|
|
|
|
${PYTHON_EXE_MSYS} exclude_badExits.py --help
|
|
|
|
TOR_CONTROLLER_PASSWORD=${PASS} ${PYTHON_EXE_MSYS} src/${MOD}/torcontactinfo.py
|
|
|
|
|
2024-01-15 11:09:20 +00:00
|
|
|
doctest::
|
|
|
|
export PYTHONPATH=${PWD}/src/${MOD}
|
|
|
|
${DOCTEST} ${MOD}.txt
|
|
|
|
|
2024-01-16 14:54:24 +00:00
|
|
|
veryclean:: clean
|
|
|
|
rm -rf build dist
|
|
|
|
|
2024-01-15 11:09:20 +00:00
|
|
|
clean::
|
|
|
|
find * -name \*~ -delete
|