From f1582c57706b6fdf4f49319d11ed1bfd4169efac Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 27 Dec 2020 11:42:07 -0800 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.43.0