Skip to content

Instantly share code, notes, and snippets.

@krypted
Created February 21, 2019 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krypted/f2c604f6ed71856fdd42d6284261ac93 to your computer and use it in GitHub Desktop.
Save krypted/f2c604f6ed71856fdd42d6284261ac93 to your computer and use it in GitHub Desktop.
mkdir pkg
cp -a source/. pkg/
while read lib; do
pip3 install $lib -t ./pkg
done <installedlibraries.txt
chmod -R +x ./pkg/
cd pkg
zip -r ../function.zip *
cd ..
rm -rf pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment