On Sat, Oct 29, 2016 at 2:59 PM, Cameron Simpson <c...@zip.com.au> wrote: > On 28Oct2016 23:02, Adam Jensen <han...@riseup.net> wrote: >> >> If one were to develop a Python application on multiple machines, what >> are some good methods for keeping them synchronized? For example, I >> develop on a FreeBSD machine and a CentOS machine, each with python2.7 >> and differing sets of site packages. On each machine, I can use >> virtualenv. But if I 'pip install xxx' on one, should I just try to >> remember to do the same on the other? I am not sure about the details >> but syncing the entire virtualenv directory with a DVCS seems like it >> might be problematic. (I prefer https://www.fossil-scm.org). >> >> So what are some of the more successful distributed. multi-platform, >> development models? > > > Sync the virtualenv prerequisites file with your DVCS. Have a tiny script to > update the local virtualenv prereq file and run its update command to honour > any new prereqs.
Easiest way that I've found is to use requirements.txt and "pip install -r requirements.txt". And as Cameron says, source control is the key, but you don't don't need to manage the entire venv, just the one key file. ChrisA -- https://mail.python.org/mailman/listinfo/python-list