lib/settings.py
author Tero Marttila <terom@fixme.fi>
Wed, 03 Jun 2009 18:59:46 +0300
branchuse-distutils
changeset 40 373392025533
parent 23 10841abbc01f
permissions -rw-r--r--
write the setup.py and move executables to 'scripts/' (for now, 'bin' might be better)
TEMPLATE_DIR = './templates'
TEMPLATE_EXT = 'html'

IMAGE_EXTS = ('jpg', 'jpeg', 'png', 'gif', 'bmp')

THUMB_DIR = 'thumbs'
PREVIEW_DIR = 'previews'
TITLE_FILE = 'title.txt'

THUMB_GEOM = (160, 120)
PREVIEW_GEOM = (640, 480)

DEFAULT_TITLE = 'Image gallery'

# how many image/page
IMAGE_COUNT = 50

VERSION = "0.5"
ROOT_IGNORE = ('lib', 'templates')