From 10eba36ef58559cf7964aa5c4888cee117122b31 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 14 Apr 2017 17:40:25 -0400 Subject: First cut at a setup.py for our Python code. --- source/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'source/Makefile') diff --git a/source/Makefile b/source/Makefile index af018b1..5095766 100644 --- a/source/Makefile +++ b/source/Makefile @@ -6,6 +6,8 @@ # the primary packaging system is Debian-based, so this is written # to work in that environment. # +# See setup.py for installation of the Python-related bits. +# # We also support Homebrew for MacOSX, using the source tarball # generated by the Debian packaging process, but the Homebrew formula # handles the build and installation for that environment. @@ -20,10 +22,4 @@ install: all install -D -m 644 cryptech-alpha-firmware.tar.gz ${DESTDIR}/usr/share/cryptech-alpha-firmware.tar.gz install -D -m 644 sw/pkcs11/libcryptech-pkcs11.so ${DESTDIR}/usr/lib/libcryptech-pkcs11.so ln -s libcryptech-pkcs11.so ${DESTDIR}/usr/lib/libcryptech-pkcs11.so.0 -# install -D sw/pkcs11/p11util ${DESTDIR}/usr/bin/p11util -# install -D sw/pkcs11/libhal/cryptech_rpcd ${DESTDIR}/usr/bin/cryptech_rpcd - install -D sw/stm32/projects/hsm/cryptech_upload ${DESTDIR}/usr/bin/cryptech_upload - install -D sw/stm32/projects/hsm/cryptech_probe ${DESTDIR}/usr/bin/cryptech_probe - install -D sw/stm32/projects/hsm/cryptech_miniterm ${DESTDIR}/usr/bin/cryptech_miniterm - -# Still need scripts to do something useful with the firmware tarball + python setup.py install --install-layout=deb --root=${DESTDIR} -- cgit v1.2.3