lib/settings.py
branchuse-distutils
changeset 41 3b1579a7bffb
parent 40 373392025533
child 42 146997912efb
equal deleted inserted replaced
40:373392025533 41:3b1579a7bffb
     1 TEMPLATE_DIR = './templates'
       
     2 TEMPLATE_EXT = 'html'
       
     3 
       
     4 IMAGE_EXTS = ('jpg', 'jpeg', 'png', 'gif', 'bmp')
       
     5 
       
     6 THUMB_DIR = 'thumbs'
       
     7 PREVIEW_DIR = 'previews'
       
     8 TITLE_FILE = 'title.txt'
       
     9 
       
    10 THUMB_GEOM = (160, 120)
       
    11 PREVIEW_GEOM = (640, 480)
       
    12 
       
    13 DEFAULT_TITLE = 'Image gallery'
       
    14 
       
    15 # how many image/page
       
    16 IMAGE_COUNT = 50
       
    17 
       
    18 VERSION = "0.5"
       
    19 ROOT_IGNORE = ('lib', 'templates')
       
    20