示例#1
0
def main():
    import gevent.monkey
    gevent.monkey.patch_all()
    from raiden.ui.cli import run
    # auto_envvar_prefix on a @click.command will cause all options to be
    # available also through environment variables prefixed with given prefix
    # http://click.pocoo.org/6/options/#values-from-environment-variables
    run(auto_envvar_prefix='RAIDEN')
示例#2
0
文件: __main__.py 项目: sekmet/raiden
def main() -> None:
    import gevent.monkey

    gevent.monkey.patch_all()

    from raiden.network.transport.matrix.rtc.utils import setup_asyncio_event_loop

    setup_asyncio_event_loop()

    from raiden.ui.cli import run

    # auto_envvar_prefix on a @click.command will cause all options to be
    # available also through environment variables prefixed with given prefix
    # http://click.pocoo.org/6/options/#values-from-environment-variables
    run(auto_envvar_prefix="RAIDEN")  # pylint: disable=no-value-for-parameter
示例#3
0
# -*- coding: utf-8 -*-
from gevent import monkey
monkey.patch_all()
from raiden.ui.cli import run

if __name__ == '__main__':
    run()
示例#4
0
文件: main.py 项目: AlphaX-IBS/raiden
from gevent import monkey
monkey.patch_all()
from raiden.ui.cli import run


if __name__ == '__main__':
    # auto_envvar_prefix on a @click.command will cause all options to be
    # available also through environment variables prefixed with given prefix
    # http://click.pocoo.org/6/options/#values-from-environment-variables
    run(auto_envvar_prefix='RAIDEN')
示例#5
0
from gevent import monkey
monkey.patch_all()
from raiden.ui.cli import run

if __name__ == '__main__':
    # auto_envvar_prefix on a @click.command will cause all options to be
    # available also through environment variables prefixed with given prefix
    # http://click.pocoo.org/6/options/#values-from-environment-variables
    run(auto_envvar_prefix='RAIDEN')  # pylint: disable=no-value-for-parameter
示例#6
0
from gevent import monkey
monkey.patch_all()
from raiden.ui.cli import run

if __name__ == '__main__':
    # auto_envvar_prefix on a @click.command will cause all options to be
    # available also through environment variables prefixed with given prefix
    # http://click.pocoo.org/6/options/#values-from-environment-variables
    run(auto_envvar_prefix='RAIDEN')
示例#7
0
def main():
    import gevent.monkey
    gevent.monkey.patch_all()
    from raiden.ui.cli import run
    run()