1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Subject: Place htdocs in /usr/share
Description: Upstream source includes some CSS, JS and images
for the sign-in view. Place them in /usr/share instead of the
python library path.
diff --git a/authopenid/authopenid.py b/authopenid/authopenid.py
index d21ce21..da98b19 100644
--- a/authopenid/authopenid.py
+++ b/authopenid/authopenid.py
@@ -816,7 +816,7 @@ class AuthOpenIdPlugin(Component):
# ITemplateProvider methods
def get_htdocs_dirs(self):
- return [('authopenid', pkg_resources.resource_filename(__name__, 'htdocs'))]
+ return [('authopenid', '/usr/share/trac-authopenid/htdocs')]
def get_templates_dirs(self):
return [pkg_resources.resource_filename(__name__, 'templates')]
|