Skip to main content

Interactive egg dependency browser

Project description

GtkEggDeps

GtkEggDeps uses the wonderful tl.eggdeps and PyGtk to provide an interactive dependency browser.

Installation

If you have easy_install, you should be able to easy_install gtkeggdeps.

Alternatively, download gtkeggdeps.py and use it directly. You’ll need to have tl.eggdeps installed.

The source code can be found in this Bazaar repository: http://mg.pov.lt/gtkeggdeps/bzr

The project home page is at http://mg.pov.lt/gtkeggdeps

Usage

You can pass a list of egg names on the command line to limit the view just to those eggs and their dependencies. You can also specify package names to completely ignore. Run gtkeggdepps –help for the syntax.

The standard Gtk+ keys for navigating trees are

‘+’

expand a tree node

‘-’ or ‘/’

collapse a tree node

‘*’

expand a tree node recursively

Backspace

jump to parent

Ctrl+S

start incremental search among expanded nodes

Ctrl+Up

find previous matching node

Ctrl+Down

find next matching node

Extra keys defined by gtkeggdeps

Enter

expand/collapse a node

The colours are:

red

This is dependency loop

blue

There exists a dependency to this package that is less indirect (e.g. if z3c.formdemo directly depends on zope.schema, then whenever zope.schema appears as an indirect dependency it will be in blue). Blue nodes aren’t expanded recursively when you press ‘*’, but they can be expanded with ‘+’.

grey

This package is not available in your working set

Usage with zc.buildout

Add a new part to buildout.cfg that uses zc.recipe.egg and installs gtkeggdeps together with the eggs whose dependencies you want to explore. Example for z3c.formdemo:

[buildout]
develop = .
parts = demo test coverage eggdeps

[eggdeps]
recipe = zc.recipe.egg
eggs = gtkeggdeps
       z3c.formdemo [app, test]

...

Rerun buildout and you’ll get a bin/gtkeggdeps script that will see all the eggs you specified.

Changes

0.0.5

  • New command-line option: –ignore pkgname.

  • Added README.txt and CHANGES.txt

0.0.4

  • Make sure the dependency graph is complete. Should fix an error one of the users reported.

0.0.3

  • Show package extras as separate dependency tree nodes.

0.0.2 (2007-09-24)

  • Removed debugging cruft that accidentally made its way into the release.

0.0.1 (2007-09-24)

  • First public release.

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

gtkeggdeps-0.0.5.tar.gz (5.3 kB view hashes)

Uploaded Source

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