__init__.py 387 B

1234567891011121314151617
  1. """
  2. SPDX-FileCopyrightText: 2020-2021 zPlus <zplus@peers.community>
  3. SPDX-License-Identifier: GPL-2.0-only
  4. """
  5. import os
  6. import sys
  7. PAGURE_CONFIG = "/home/git/pagure_local/config.py"
  8. PLUGINS_PATH = "/home/git/pagure_local/plugins"
  9. if PLUGINS_PATH not in sys.path:
  10. sys.path.append(PLUGINS_PATH)
  11. os.environ['PAGURE_CONFIG'] = PAGURE_CONFIG
  12. os.environ['FORGEFED_WORKER'] = "false"