From 935b009eecf02b6909a5563bae4a90c342f8d4e6 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 3 Sep 2021 10:22:49 +0200 Subject: Implement Python Packaging --- src/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..c3a3660 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,14 @@ +# vim: shiftwidth=4 tabstop=4 noexpandtab + +DESTDIR="" # leave empty for the current system or provide a fakeroot here + +.PHONY: all clean install + +all: + python setup.py build + +clean: + rm -rf build + +install: all + python setup.py install --root=$(DESTDIR) --optimize=1 --skip-build -- cgit v1.2.3-70-g09d2