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.

Filename, size & hash SHA256 hash help File type Python version Upload date
anybox.recipe.sysdeps-0.5.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page