tools.build_requirements

This script assembles a complete list of requirements for the SmartHomeNG core and all plugins.

The list is not tested for correctness nor checked for contrary requirements.

The procedure is as following: 1) walks the plugins subdirectory and collect all files with requirements 2) read the requirements for the core 3) read all files with requirements and add them with source of requirement to a dict 4) write it all to a file all.txt in requirements directory

tools.build_requirements.build_packagelist()[source]

Build a list of dicts with package information

Returns:list of package-dicts
Return type:list
tools.build_requirements.seperate_operator_version(op_vers)[source]

Seperate operator and version number into a list of two seperate strings

Parameters:op_vers
Returns:list containing 2 elements (operator, version)
Return type:list