python - How do I upload multiple libraries which my app needs to Google App Engine? -


i wrote script control reddit bot using praw, , decided wanted upload website execute automatically every ten or minutes.

for chose google app engine (b/c free , google). unfortunately i'm not sure how upload dependencies. after googling around found out had place praw in src directory of app, did.

the app threw error on running, saying not find module named requests- fix threw 6 in src dir, dependency of praw. next time ran, app engine log said script not find module "pkg_resources."

to find started python , ran

import pkg_resources print(pkg_resources) 

which linked .pyc placed app's src directory. unfortunately next time script ran failed again, saying not locate module pkg_resources.

because of have 2 questions:

one, can tell me i'm doing wrong in trying upload praw's dependencies app engine? and...

two, while locating files needed, realized trying upload dependencies of package pain. there utuility generate list of folders need place in src folder?

answers appreciated :)


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -