mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00

Some checks failed
Run linters / lint (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Build Debian package / build (push) Has been cancelled
Build Docker image / buildx (push) Has been cancelled
Deploy static content to Pages / deploy (push) Has been cancelled
Build Homebrew package / build (push) Has been cancelled
Build GitHub Pages website / build (push) Has been cancelled
Build Pip package / build (push) Has been cancelled
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Has been cancelled
Run tests / docker_tests (push) Has been cancelled
Build GitHub Pages website / deploy (push) Has been cancelled
36 lines
1 KiB
Python
36 lines
1 KiB
Python
__package__ = 'archivebox.config'
|
|
__order__ = 200
|
|
|
|
from .paths import (
|
|
PACKAGE_DIR, # noqa
|
|
DATA_DIR, # noqa
|
|
ARCHIVE_DIR, # noqa
|
|
)
|
|
from .constants import CONSTANTS, CONSTANTS_CONFIG, PACKAGE_DIR, DATA_DIR, ARCHIVE_DIR # noqa
|
|
from .version import VERSION # noqa
|
|
|
|
# import abx
|
|
|
|
# @abx.hookimpl
|
|
# def get_CONFIG():
|
|
# from .common import (
|
|
# SHELL_CONFIG,
|
|
# STORAGE_CONFIG,
|
|
# GENERAL_CONFIG,
|
|
# SERVER_CONFIG,
|
|
# ARCHIVING_CONFIG,
|
|
# SEARCH_BACKEND_CONFIG,
|
|
# )
|
|
# return {
|
|
# 'SHELL_CONFIG': SHELL_CONFIG,
|
|
# 'STORAGE_CONFIG': STORAGE_CONFIG,
|
|
# 'GENERAL_CONFIG': GENERAL_CONFIG,
|
|
# 'SERVER_CONFIG': SERVER_CONFIG,
|
|
# 'ARCHIVING_CONFIG': ARCHIVING_CONFIG,
|
|
# 'SEARCHBACKEND_CONFIG': SEARCH_BACKEND_CONFIG,
|
|
# }
|
|
|
|
# @abx.hookimpl
|
|
# def ready():
|
|
# for config in get_CONFIG().values():
|
|
# config.validate()
|