From: Carl Worth Date: Sun, 27 Dec 2020 19:42:07 +0000 (-0800) Subject: Fix Makefile to not hard-code python3.8 X-Git-Url: https://git.cworth.org/git?p=turbot;a=commitdiff_plain;h=f1582c57706b6fdf4f49319d11ed1bfd4169efac Fix Makefile to not hard-code python3.8 Apparently I'm using python 3.9 now. Fix the Makefile so that the deploy recipe should work with any version of python. --- diff --git a/Makefile b/Makefile index de0462c..c0984d9 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ deploy-lambda: git clone . .deploy-lambda-source make -C .deploy-lambda-source bootstrap (cd .deploy-lambda-source; . env/bin/activate; make reqs) - (cd .deploy-lambda-source/env/lib/python3.8/site-packages; zip -r ../../../../turbot.zip .) + (cd .deploy-lambda-source/env/lib/python*/site-packages; zip -r ../../../../turbot.zip .) (cd .deploy-lambda-source/turbot_lambda; zip ../turbot.zip turbot_lambda.py) (cd .deploy-lambda-source; zip turbot.zip $$(git ls-files -- turbot)) (cd .deploy-lambda-source; \