Fails to guess package for python-cheetah
Bug #804622 reported by
James Westby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
python-cheetah installs Cheetah-
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
To post a comment you must log in.
distribute seems to have a safe_name function in pkg_resources.py
https:/ /bitbucket. org/tarek/ distribute/ src/edd2f2c24b2 0/pkg_resources .py#cl- 1130
but it doesn't call lower() and is different to debpython's anyway.
Thanks,
James