diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b095cb3 --- /dev/null +++ b/Makefile @@ -0,0 +1,35 @@ +# TODO: rename binary to euscan-ng +BIN = euscan + + +.PHONY: + clean + install-user + install-user-test + install-user-web + install + uninstall distclean + + +clean: + sh clean.sh + + +install-user: + python setup.py -v install --user + +install-user-test: + python setup.py -v install --user test + +install-user-web: + python setup.py -v install --user web + +install: install-user + + +uninstall: + pip uninstall -v -y $(BIN) + + +distclean: uninstall +distclean: clean diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000..779ab86 --- /dev/null +++ b/clean.sh @@ -0,0 +1,7 @@ +#!/bin/sh + + +rm -drv build +rm -drv dist +find . -name "*.egg*" -exec rm -drv {} \; +find . -name "*__pycache__*" -exec rm -drv {} \;