#!/usr/bin/python class channel: title = "Sam Ruby" cmttitle = "Sam Ruby" + unichr(8217) + "s Comments" link = "http://intertwingly.net/blog/" id = "http://intertwingly.net/id/" registry = link + "registry/" description = "It's just data" description = "It" + unichr(8217) + "s just data" language = "en-us" generator = "http://intertwingly.net/code/mombo/" author = "rubys@intertwingly.net" license = "http://creativecommons.org/licenses/BSD/" alternate = link + "index.atom" foaf = "http://intertwingly.net/public/foaf.rdf" icon = "http://intertwingly.net/favicon.ico" cmtalt = link + "comments.atom" host = "intertwingly" # link.split('/')[2] class service: pingback = "http://intertwingly.net/blog/pingback" backtrack = "http://intertwingly.net/backtrack.cgi" class urlpath: cache = "/blog" class directory: codebase = "/home/rubys/mombo/" template = codebase + "template/" web = "/web/script/rubys/intertwingly.net/" cache = web + "blog/" data = web + "blosxom/" spam = web + "spam/" spamlog = web + "spam/log/" atom = web + "atom/" registry = web + "registry/" log = "/home/rubys/log/intertwingly.net/" index = web querycache = cache + "query/" history = cache + "history/" images = web + 'images/' captcha = images + 'captcha/' tmp = "/tmp" class openid: # code = '/home/rubys/python-openid-combo-20061208/*-*' code = '/home/rubys/python-openid-2.0.1' filestore = directory.spam + 'openidstore/' trustroot = channel.link returnto = channel.link + "id" # indexer = "/home/rubys/bin/swish-e" indexer = "whoosh" index = directory.web+"index.mombo" import sys from glob import glob for path in glob("/home/rubys/.local/lib/python%d.%d/site-packages/*" % (sys.version_info[0], sys.version_info[1])): if path.endswith('.egg-info'): continue if not path in sys.path: sys.path.insert(0,path)