mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00

Some checks are pending
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
38 lines
933 B
Python
38 lines
933 B
Python
__package__ = 'archivebox.config'
|
|
|
|
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_INSTALLED_APPS():
|
|
# return ['config']
|
|
|
|
|
|
@abx.hookimpl
|
|
def get_CONFIG():
|
|
from .common import (
|
|
SHELL_CONFIG,
|
|
STORAGE_CONFIG,
|
|
GENERAL_CONFIG,
|
|
SERVER_CONFIG,
|
|
ARCHIVING_CONFIG,
|
|
SEARCH_BACKEND_CONFIG,
|
|
)
|
|
return {
|
|
'SHELL': SHELL_CONFIG,
|
|
'STORAGE': STORAGE_CONFIG,
|
|
'GENERAL': GENERAL_CONFIG,
|
|
'SERVER': SERVER_CONFIG,
|
|
'ARCHIVING': ARCHIVING_CONFIG,
|
|
'SEARCHBACKEND': SEARCH_BACKEND_CONFIG,
|
|
}
|
|
|