Created
February 21, 2019 14:29
-
-
Save krypted/f2c604f6ed71856fdd42d6284261ac93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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