installing custom handlers without modifying the package

Bug #586594 reported by Forest
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apache OpenID
Confirmed
Undecided
Unassigned

Bug Description

I see that custom handlers (such as the "teams" handler) can be added to apache-openid, but as far as I can tell, it requires placing additional files/directories within the existing python package directory. Sadly, this effectively means that in order to build upon the existing work, I have to either modify the ubuntu-supplied package or modify the sources and replace the ubuntu-supplied pacake with my own.

It would be nice if there was a way to install my custom login handler as a separate python/debian package instead of bundling it with a modified original. Perhaps calling pkgutil.extend_path() in apache-openid would make it play well with other packages that want to extend the namespace? In the future, Python namespace packages might be useful here.

http://www.python.org/dev/peps/pep-0382/

Revision history for this message
Stuart Metcalfe (stuartmetcalfe) wrote :

Thanks for the report. This is something we'd like to improve so the information will be useful

Changed in apache-openid:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.