Skip to content

debreate/libdbr

Repository files navigation

A high level Python library for Debreate.

libdbr is licensed under MIT.

A build.py script is provided to help with installation & packaging. It is invoked as python3 build.py [args] or ./build.py [args].

  • -h|--help
    • Show help information.
  • -v|--version
    • Show libdbr version.
  • -V|--verbose
    • Include detailed task information when printing to stdout.
  • -l|--log-level <level>
    • Logging output verbosity.
    • Levels are 0 (silent), 1 (error), 2 (warn), 3 (info), & 4 (debug).
  • -t|--task <task>
  • -p|--prefix <path>
    • Path prefix to directory where files are to be installed.
  • -d|--dir <path>
    • Target directory (defaults to system root). This is useful for directing the script to place the files in a temporary directory, rather than the intended installation path. It is equivalent to the "DESTDIR" environment variable used by GNU make.
  • stage
    • Prepare files for installation or distribution.
  • dist-source
    • Build a source distribution package.
  • clean
    • Remove all temporary build files.
  • clean-stage
    • Remove temporary build files from'build/stage' directory.
  • clean-dist
    • Remove built packages from 'build/dist' directory.
  • test
    • Run configured unit tests from 'tests' directory.
  • check-code