-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.py
29 lines (26 loc) · 981 Bytes
/
install.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2022 Bram Oosterlynck
from setup import ExtensionInstaller
def loader():
return GopherInstaller()
class GopherInstaller(ExtensionInstaller):
def __init__(self):
super(GopherInstaller, self).__init__(
version="0.1",
name='gopher',
description='A skin which outputs Gopher menus.',
author="Bram Oosterlynck",
author_email="bram.oosterlynck@gmail.com",
config={
'StdReport': {
'gopher': {
'skin':'gopher',
'HTML_ROOT':'/srv/gopher'}}},
files=[('skins/gopher',
['skins/gopher/gophermap.tmpl',
'skins/gopher/week.tmpl',
'skins/gopher/month.tmpl',
'skins/gopher/year.tmpl',
'skins/gopher/about.tmpl',
'skins/gopher/skin.conf'])
]
)