distributed development methodology

Cameron Simpson cs at zip.com.au
Fri Oct 28 23:59:42 EDT 2016


On 28Oct2016 23:02, Adam Jensen <hanzer at 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.

Cheers,
Cameron Simpson <cs at zip.com.au>



More information about the Python-list mailing list