Skip to main content

Buildout recipe to check various dependencies are in place.

Project description

If you are relying on the OS to provide some facilities for your software, this recipe can help verify that the dependencies exist.

Right now this will check only two types of things:

  • If certain files exist in the filesystem and that they are executable

  • If certain locales are available on the system

For the latter this is done in quite a Debian/Ubuntu specific way, so may not work for you.

If any dependencies fail, the recipe will raise an exception immediately.

An example:

[foo]
program = /usr/sbin/foo

[bar]
binary = /usr/sbin/bar
locale = nl_NL.UTF-8

[dependencies]
recipe = isotoma.recipe.depcheck
executable =
    ${foo:program}
    ${bar:binary}
locale = ${bar:locale}

Parameters

executable

A list of one or more paths to files that must be executable

locale-file

The name of a file on disk to look for locales in (defaults to the Ubuntu location)

locale

A list of one or more locales to check are in locale-file

License

Copyright 2010 Isotoma Limited

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

isotoma.recipe.depcheck-0.0.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file isotoma.recipe.depcheck-0.0.0.tar.gz.

File metadata

File hashes

Hashes for isotoma.recipe.depcheck-0.0.0.tar.gz
Algorithm Hash digest
SHA256 15bf9a2842058d36a1e138d9d31d18221876b9c7fed501c786ab7038307d2fec
MD5 6659730a9af6d24835d7eabb4d10b432
BLAKE2b-256 6799d775793a0d1c412eea064b377ccda9a2546f7096da95aef5ec5f4e2e9c4c

See more details on using hashes here.

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