Exemplo n.º 1
0
# Copyright (c) Moshe Zadka
# See LICENSE for details.
"""Main

For use as 'python -m ncolony [reaper|ctl] ...'
"""
import sys

import mainland

if __name__ != '__main__':
    raise ImportError("This module cannot be imported")

mainland.main(
    root='ncolony',
    marker='NCOLONY_MAIN_OK',
    suffix=['lib', ''],
    argv=sys.argv,
)
Exemplo n.º 2
0
# Copyright (c) Moshe Zadka
# See LICENSE for details.

if __name__ != '__main__':
    raise ImportError('module cannot be imported')

import sys
import mainland

mainland.main(
    root='tillage',
    marker='TILLAGE_MAIN_OK',
    argv=sys.argv,
)
Exemplo n.º 3
0
if __name__ != '__main__':
    raise ImportError('module cannot be imported')

import sys
import mainland

mainland.main(
    root='reqpi',
    marker='REQPI_MAIN_OK',
    argv=sys.argv,
)
Exemplo n.º 4
0
## Standard mainland-ish __main__
if __name__ != '__main__':
    raise ImportError('module cannot be imported')

import sys
import mainland

mainland.main(
    root='boredbot_deploy',
    marker='BOREDBOT_MAIN_OK',
    argv=sys.argv,
)