easybuild.tools.package.utilities module

Various utilities related to packaging support.

author:Marc Litherland (Novartis)
author:Gianluca Santarossa (Novartis)
author:Robert Schmidt (The Ottawa Hospital, Research Institute)
author:Fotis Georgatos (Uni.Lu, NTUA)
author:Kenneth Hoste (Ghent University)
class easybuild.tools.package.utilities.ActivePNS

Bases: object

The wrapper class for Package Naming Schemes.

name(easyconfig)

Determine package name

release(easyconfig)

Determine package release

version(easyconfig)

Determine package version

easybuild.tools.package.utilities.avail_package_naming_schemes()

Returns the list of valed naming schemes They are loaded from the easybuild.package.package_naming_scheme namespace

easybuild.tools.package.utilities.check_pkg_support()

Check whether packaging is possible, if required dependencies are available.

easybuild.tools.package.utilities.package(easyblock)

Package installed software, according to active packaging configuration settings.

easybuild.tools.package.utilities.package_with_fpm(easyblock)

This function will build a package using fpm and return the directory where the packages are