gp.vcsdevelop

ZC buildout extension to checkout eggs from various VCS
Download

gp.vcsdevelop Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • Gael Pasgrimaud

gp.vcsdevelop Tags


gp.vcsdevelop Description

ZC buildout extension to checkout eggs from various VCS This package allow you to checkout some package and use them as developed eggs with zc.buildout.Available options: * develop-dir: a directory to checkout packages in * vcs-extend-develop: A list of vcs url. See pip's editable parameter. Available schemes are ssh, svn, git, hg, bzr, sftp. * vcs-update: If true on every run buildout try updating egg. As example for hg+https run hg pull -u If always then remove existing code from filesystem and get a fresh checkoutUsage:Use this package as a zc.buildout extension and provide some vcs urls in the vcs-extend-develop option:>>> write('buildout.cfg','''... ... extensions=gp.vcsdevelop... vcs-extend-develop=hg+https://gawel@bitbucket.org/gawel/mercurialapp/@tip#egg=MercurialApp... parts=... ''')Then if you run buildout, the package will be checkout from the repository:>>> print 'Start', system(buildout)Start...Cloning hg https://gawel@bitbucket.org/gawel/mercurialapp/ (to revision tip) to ./MercurialAppFound command 'hg' at '...'Develop: '/...buildout/MercurialApp'install_dir ...Packages can be found in the develop-dir (default to .). You can override this:>>> write('buildout.cfg','''... ... extensions=gp.vcsdevelop... develop-dir=./src... vcs-extend-develop=hg+https://gawel@bitbucket.org/ianb/pip/@tip#egg=pip... parts=... ''')>>> print 'Start', system(buildout)Start...Cloning hg https://gawel@bitbucket.org/ianb/pip/ (to revision tip) to ./src/pipFound command 'hg' at '...'Develop: '/...buildout/./src/pip'install_dir ......You can also checkout non-python packages but you'll get a warning:>>> write('buildout.cfg','''... ... extensions=gp.vcsdevelop... develop-dir=./src... vcs-extend-develop=git+git://github.com/benoitc/couchbeam.git#egg=couchbeam... parts=... ''')>>> print 'Start', system(buildout).strip()Start...Cloning git://github.com/benoitc/couchbeam.git to ./src/couchbeamFound command 'git' at '...'Warning: ./src/couchbeam is not a python package Requirements: · Python What's New in This Release: · require pip>=0.8


gp.vcsdevelop Related Software