[api.paths] refactoring: CACHE_PATH renamed to CACHE_DIR

This commit is contained in:
Vinicius Moreira
2021-11-25 16:09:42 -03:00
parent 25c9ed9fa3
commit 06035bb97e
11 changed files with 22 additions and 22 deletions

View File

@@ -1,11 +1,11 @@
import os
from bauh.api.paths import CONFIG_DIR, TEMP_DIR, CACHE_PATH
from bauh.api.paths import CONFIG_DIR, TEMP_DIR, CACHE_DIR
from bauh.commons import resource
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
BUILD_DIR = f'{TEMP_DIR}/arch'
ARCH_CACHE_PATH = f'{CACHE_PATH}/arch'
ARCH_CACHE_PATH = f'{CACHE_DIR}/arch'
CATEGORIES_FILE_PATH = f'{ARCH_CACHE_PATH}/categories.txt'
URL_CATEGORIES_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/arch/categories.txt'
URL_GPG_SERVERS = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/arch/gpgservers.txt'