Skip to main content

ZC buildout extension to checkout eggs from various vcs

Project description

What is gp.vcsdevelop ?

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 checkout

Usage

Use this package as a zc.buildout extension and provide some vcs urls in the vcs-extend-develop option:

>>> write('buildout.cfg','''
... [buildout]
... 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 ./MercurialApp
Found 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','''
... [buildout]
... 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/pip
Found 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','''
... [buildout]
... 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/couchbeam
Found command 'git' at '...'
Warning: ./src/couchbeam is not a python package

Bugs

Use the bitbucket tracker.

Changes

1.9.2 (04-01-2011)

  • require pip>=0.8

1.9.1 (22-08-2010)

  • add mercurial in require

1.9 (22-08-2010)

  • support latest pip

1.8 (06-08-2010)

  • always add svn scheme

1.7 (06-08-2010)

  • fix pip 0.8 compat

1.6 (13-05-2010)

  • require pip>=0.7.1

1.5 (17-02-2010)

  • rename vcsdevelop-update to vcs-update. can be set to always

1.4 (24-01-2010)

  • pip 0.6.3 compat by Boris Kocherov

1.3 (13-09-2009)

  • add vcsdevelop-update by Boris Kocherov

1.2 (24-08-2009)

  • allow to fetch non-python package

1.1 (29-06-2009)

  • add svn to vcs.schemes

0.4 (04-05-2009)

  • allow to have existing develop directories

0.2 (27-01-2009)

  • only take care of urls starting with a valid available scheme.

0.1 (23-01-2009)

  • nothing change

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

gp.vcsdevelop-1.9.2.zip (11.1 kB view details)

Uploaded Source

gp.vcsdevelop-1.9.2.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file gp.vcsdevelop-1.9.2.zip.

File metadata

  • Download URL: gp.vcsdevelop-1.9.2.zip
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gp.vcsdevelop-1.9.2.zip
Algorithm Hash digest
SHA256 d93829af05041d068c4fc82fb21b4fa215383b34008bf4df9492cadced7a540d
MD5 79a875414a4762897425ff9dfd604ffa
BLAKE2b-256 eb9a584042bed183d1c63d306331de57f1273afb8a06d697b0240b2a16092183

See more details on using hashes here.

Provenance

File details

Details for the file gp.vcsdevelop-1.9.2.tar.gz.

File metadata

File hashes

Hashes for gp.vcsdevelop-1.9.2.tar.gz
Algorithm Hash digest
SHA256 a0b3801c1a91d544a536264ba9047dfaf73f5fc37e57e3c5d5527ffec5181383
MD5 b8972d1cf55c2c0ed94a459879c39835
BLAKE2b-256 d5736bea65d5934af132674a9bf2144c2a43922fd585344391ad8748900ec91b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page