mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2024-12-28 20:43:41 +01:00
10 lines
401 B
Python
10 lines
401 B
Python
|
import os
|
||
|
|
||
|
# URL to the Gitea forge supplying the resources
|
||
|
GITEA_URL = "https://gitea.planet-casio.com"
|
||
|
# Data folder to store repositores
|
||
|
XDG_DATA_HOME = os.getenv("XDG_DATA_HOME", os.getenv("HOME")+"/.local/share")
|
||
|
REPO_FOLDER = os.getenv("GITEAPC_HOME") or XDG_DATA_HOME + "/giteapc"
|
||
|
# Prefix folder to install files to
|
||
|
PREFIX_FOLDER = os.getenv("GITEAPC_PREFIX") or os.getenv("HOME") + "/.local"
|