Skip to main content

A buildout recipe to check system dependencies

Project description

This is a simple and stupid buildout recipe to check system requirements. It is primarily intended to check dependencies on Linux and MacOsX but any help to make it work on Windows will be integrated.

Recipe options:

deps: list all the required system package names and the corresponding command line to check the requirement.

Example buildout:

[buildout]
parts = sysdeps

[sysdeps]
recipe = anybox.recipe.sysdeps
deps = PostgreSQL: which pg_dump
       Redis:      which redis-server
       php5-mysql: dpkg -l php5-mysql

If redis-server is not available, you will get an error while running the buildout, telling you to install Redis. You can use any command line to check whether the package is installed or not.

Contribute

The primary branch is here:

Changes

0.5 (12-01-2014)

  • small relative import fix

  • works on python 3

0.4 (01-07-2012)

  • Dependency checking is now just a command line to run

0.3 (19-12-2011)

  • Moved to mercurial

  • (bug) return an iterable instead of None

0.2 (15-10-2011)

  • Fixed install recipe and forgotten file

0.1 (06-08-2011)

  • Initial naive implementation using ‘which’

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

anybox.recipe.sysdeps-0.5.tar.gz (2.8 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