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, git, hg, bzr, sftp.

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 system(buildout)
Cloning hg https://gawel@bitbucket.org/gawel/mercurialapp/ (to revision tip) to ./MercurialApp
Develop: '/...buildout/MercurialApp'

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 system(buildout)
Cloning hg https://gawel@bitbucket.org/ianb/pip/ (to revision tip) to ./src/pip
Develop: '/...buildout/./src/pip'
...

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/schacon/hg-git.git#egg=hg-git
... parts=
... ''')

>>> print system(buildout).strip()
Cloning git://github.com/schacon/hg-git.git to ./src/hg-git
Warning: ./src/hg-git is not a python package

Bugs

Use the bitbucket tracker.

Changes

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 Distribution

gp.vcsdevelop-1.2.tar.gz (4.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gp.vcsdevelop-1.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gp.vcsdevelop-1.2.tar.gz
Algorithm Hash digest
SHA256 fe0cb459b3eb38c8a74bae15e9b5f93cabb73179017f47d9a20988800c937e96
MD5 735bf7817bbf710b35e7c3810b753e22
BLAKE2b-256 c8eb7f70f07c08940aa2be42fcd78e1d6e76c85f90813b609157b0b50651857b

See more details on using hashes here.

Supported by

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