distribute seems to have a safe_name function in pkg_resources.py https://bitbucket.org/tarek/distribute/src/edd2f2c24b20/pkg_resources.py#cl-1130
but it doesn't call lower() and is different to debpython's anyway. Thanks, James -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/804622 Title: Fails to guess package for python-cheetah To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/804622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs