1234567891011121314151617 |
- """
- SPDX-FileCopyrightText: 2020-2021 zPlus <zplus@peers.community>
- SPDX-License-Identifier: GPL-2.0-only
- """
- import os
- import sys
- PAGURE_CONFIG = "/home/git/pagure_local/config.py"
- PLUGINS_PATH = "/home/git/pagure_local/plugins"
- if PLUGINS_PATH not in sys.path:
- sys.path.append(PLUGINS_PATH)
- os.environ['PAGURE_CONFIG'] = PAGURE_CONFIG
- os.environ['FORGEFED_WORKER'] = "false"
|