From: Steve Losh Date: Sat, 7 Feb 2009 17:20:22 +0000 (-0500) Subject: Testing out some more packaging issues. X-Git-Tag: 1.0.0~53^2~4^2~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=475ee11059ac68faecd372b9e5a6dfb2a756d05d;p=be.git Testing out some more packaging issues. --- diff --git a/cfbe.py b/cfbe.py index 0a21899..d143061 100755 --- a/cfbe.py +++ b/cfbe.py @@ -1,13 +1,14 @@ #!/usr/bin/env python import cherrypy +import cherryflavoredbugseverywhere from libbe import bugdir from jinja2 import Environment, FileSystemLoader from datetime import datetime from optparse import OptionParser from os import path -module_directory = path.dirname(path.abspath(__file__)) +module_directory = path.dirname(path.abspath(cherryflavoredbugseverywhere.__file__)) def datetimeformat(value, format='%B %d, %Y at %I:%M %p'): """Takes a timestamp and revormats it into a human-readable string."""