Produce some verification of correctness for those configs Begin future client auto-updating things, with new config fields client_repo_url, and client_repo_ref specifically.
34 lines
1.7 KiB
Python
34 lines
1.7 KiB
Python
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
# #
|
|
# OpenBench is a chess engine testing framework authored by Andrew Grant. #
|
|
# <https://github.com/AndyGrant/OpenBench> <andrew@grantnet.us> #
|
|
# #
|
|
# OpenBench is free software: you can redistribute it and/or modify #
|
|
# it under the terms of the GNU General Public License as published by #
|
|
# the Free Software Foundation, either version 3 of the License, or #
|
|
# (at your option) any later version. #
|
|
# #
|
|
# OpenBench is distributed in the hope that it will be useful, #
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
# GNU General Public License for more details. #
|
|
# #
|
|
# You should have received a copy of the GNU General Public License #
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
|
# #
|
|
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
|
|
import django.apps
|
|
|
|
|
|
class OpenBenchConfig(django.apps.AppConfig):
|
|
|
|
name = 'OpenBench'
|
|
|
|
def ready(self):
|
|
|
|
from OpenBench import config
|
|
|
|
if config.OPENBENCH_CONFIG is None:
|
|
config.OPENBENCH_CONFIG = config.create_openbench_config()
|