# 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, )
# 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, )
if __name__ != '__main__': raise ImportError('module cannot be imported') import sys import mainland mainland.main( root='reqpi', marker='REQPI_MAIN_OK', argv=sys.argv, )
## 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, )