I am not a python pro, but python is really useful, so I’m trying to improve my skills.
I’m working on a project that uses ‘requests’ and ‘grequests’. Both of these packages have dependencies, which are usually handled by ‘pip’ or ‘easy_install’. This is fine for a development environment, or for installing to one or two machines, but I need to deploy my project to 200+ machines. What is the best way to package up my dependencies with my project so that it’s portable?
python v2.7
On your machine:
On other machines:
Also, I advise you to look at
virtualenvtool to work with dependencies in more comfortable way. For more sophisticated solutions (eg, distributed dependencies management), look atPuppet. Good presentation from PyCon: Dependency management with Puppet