Answer the question
In order to leave comments, you need to log in
How do you store dependencies for GAE (Python) projects?
There is a GAE (Python) project that uses a lot of Python packages. Now everything is stored in the libs folder and this folder is under version control. Everything would be fine, but inconvenience arises when you need to update one of the packages. You need to rearrange and all this goes to the repository, which clogs the commit history itself.
What are some ideas? To make it easy to deploy and then deploy?
Answer the question
In order to leave comments, you need to log in
There is a banal idea - to take virtualenv + pip and use them to declaratively specify dependencies.
That is, you need to store not libs, but the dependencies.txt file indicating the versions of the libraries.
Further, during deployment, virtualenv is initialized, and it downloads the specified libraries and adds them to venv/lib, which is very convenient.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question