Sha256: 73cd2499e9cdcc52966771ccd4feb3c4cff5d17fe792319826b0ae0a6190049a
Contents?: true
Size: 862 Bytes
Versions: 45
Compression:
Stored size: 862 Bytes
Contents
""" This module contains the choices definition for settings required for the build slave to run. """ from choices import Choices from loader import load_settings #---------------------------------------------------------------------- # Define the Settings #---------------------------------------------------------------------- c = Choices() c.define("master_host", type=str, help="Host of the build master.") c.define("master_port", type=int, help="Port that is listening or build masters.") c.define("name", type=str, help="Name of the slave machine.") c.define("password", type=str, help="Password for the slave machine to communicate with the master.") #---------------------------------------------------------------------- # Load the Settings #---------------------------------------------------------------------- options = load_settings(c, "slave")
Version data entries
45 entries across 45 versions & 6 rubygems