Public bug reported: Hi,
python-cheetah installs Cheetah-*-.egg-info, so I put "install_requires=["Cheetah"]" in setup.py. When dh_python2 tries to guess the package name it uses "safe_name" before it puts it in the regex, which calls lower() on the string. This means that it doesn't find the Cheetah egg-info dir and so complains that the package can't be found. If it didn't call lower() it wouldn't be found. I don't know what the purpose of the lower call is in a function called safe_name, and it says that it is taken from distribute, so there may be a reason for it there. Thanks, James ** Affects: python-defaults (Ubuntu) Importance: Undecided Status: New -- 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