exclude_badExits/Makefile

35 lines
813 B
Makefile
Raw Normal View History

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