exclude_badExits/Makefile

32 lines
752 B
Makefile
Raw Normal View History

2024-01-15 12:09:20 +01:00
PREFIX=/usr/local
2024-02-05 09:14:23 +01:00
PYTHON_EXE_MSYS=${PREFIX}/bin/python3.sh
PIP_EXE_MSYS=${PREFIX}/bin/pip3.sh
2024-01-15 12:09:20 +01: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::
2024-02-05 09:14:23 +01:00
${PIP_EXE_MSYS} install --target ${PREFIX}/lib/python3.11/site-packages/ --upgrade .
2024-01-15 12:09:20 +01:00
rsync::
bash .rsync.sh
2024-02-05 09:14:23 +01:00
test::
env PYTHONPATH=${PWD}/src ${PYTHON_EXE_MSYS} ${PWD}/src/${MOD}/exclude_badExits.py --help
env PYTHONPATH=${PWD}/src TOR_CONTROLLER_PASSWORD=${PASS} ${PYTHON_EXE_MSYS} src/${MOD}/torcontactinfo.py
2024-01-17 15:12:46 +01:00
2024-01-15 12:09:20 +01:00
doctest::
2024-02-05 09:14:23 +01:00
env PYTHONPATH=${PWD}/src ${DOCTEST} ${MOD}.txt
2024-01-15 12:09:20 +01:00
2024-01-16 15:54:24 +01:00
veryclean:: clean
2024-02-05 09:14:23 +01:00
rm -rf build dist src/exclude_badExits.egg-info/
2024-01-16 15:54:24 +01:00
2024-01-15 12:09:20 +01:00
clean::
find * -name \*~ -delete