1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
maloja/maloja/__init__.py
2019-12-14 13:46:02 +01:00

56 lines
806 B
Python

### PACKAGE DATA
name = "maloja"
desc = "Self-hosted music scrobble database"
author = {
"name":"Johannes Krattenmacher",
"email":"maloja@krateng.dev",
"github": "krateng"
}
version = 2,2,0
versionstr = ".".join(str(n) for n in version)
requires = [
"bottle>=0.12.16",
"waitress>=1.3",
"doreah>=1.4",
"nimrodel>=0.6.3",
"setproctitle>=1.1.10",
"wand>=0.5.4",
"lesscpy>=0.13"
]
resources = [
"web/*/*",
"web/*",
"static/*/*",
"data_files/*/*",
"data_files/*/*/*",
"data_files/.doreah"
]
commands = {
"maloja":"controller:main"
}
### DOREAH CONFIGURATION
from doreah import config
config(
logging={
"logfolder": "logs"
},
settings={
"files":[
"settings/default.ini",
"settings/settings.ini"
]
},
caching={
"folder": "cache/"
},
regular={
"autostart": False
}
)