Testing out some more packaging issues.
authorSteve Losh <steve@stevelosh.com>
Sat, 7 Feb 2009 17:20:22 +0000 (12:20 -0500)
committerSteve Losh <steve@stevelosh.com>
Sat, 7 Feb 2009 17:20:22 +0000 (12:20 -0500)
cfbe.py

diff --git a/cfbe.py b/cfbe.py
index 0a2189989a79b9b7316d9ff3636195b7f2a48eb8..d143061f445f2e47e7dce43b782b7d9b545df429 100755 (executable)
--- 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."""