Cloning a django project from hg using buildout and using it for development
I have a django project sitting in a bitbucket repository. Is it possible to automate using buildout, the following process: 1. Install django 2. clone the django project from hg repository 3. install the dependency modules of the django project
Update: I have achieved what I wanted to, with the help of mr.developer extension as suggested by Ross.
Whi开发者_运维技巧le doing that I had another question popping up. Which is the best place to specify the dependencies - in the buildout.cfg or in the setup.py of the 'develop' modules? For now I have duplicated the specification.
Generally, you make your checkout the buildout itself, so you'd place buildout.cfg and bootstrap.py in your project root. That way when someone checks out/clones your project, they just do the bootstrap/buildout dannce and they're up and running.
If you have multiple checkouts, then look into mr.developer.
精彩评论