Gradience/gradience/backend/constants.py.in
tfuxu 8f37888d03
backend/utils: add new utility function: argb_to_color_code
This function is supposed to deprecate current `rgba_from_argb` function.

Other changes:
* fix some debug messages using print instead of logging.debug
* add datadir as a constant
2022-12-21 15:44:44 +01:00

32 lines
1.1 KiB
Python

# constants.py.in
#
# Change the look of Adwaita, with ease
# Copyright (C) 2022 Gradience Team
#
# This program 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.
#
# This program 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 <https://www.gnu.org/licenses/>.
rootdir = '/com/github/GradienceTeam/Gradience'
datadir = '@DATA_DIR@'
pkgdatadir = '@PKGDATA_DIR@'
localedir = '@LOCALE_DIR@'
app_id = '@APP_ID@'
rel_ver = '@RELEASE_VER@'
version = '@VERSION@'
build_type = '@BUILD_TYPE@'
project_url = '@PROJECT_URL@'
bugtracker_url = '@BUGTRACKER_URL@'
help_url = '@HELP_URL@'
translate_url = '@TRANSLATE_URL@'