* gregor herrmann <gre...@debian.org>, 2012-08-19, 15:40:
# melange
Traceback (most recent call last):
 File "/usr/bin/melange", line 9, in <module>
   load_entry_point('python-melangeclient==0.1', 'console_scripts', 'melange')()
 File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in 
load_entry_point
   return get_distribution(dist).load_entry_point(group, name)
 File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in 
load_entry_point
   return ep.load()
 File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
   entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named melange.client.cli

That's a bug in python-melangeclient[0]. It can be fixed by applying the attached patch and bumping b-d on python-all to "(>= 2.6.6-14~)"[1].


[0] It's built from the same source package, so I can't be bothered to make a separate bugreport.

[1] That's for the following dh_python2 feature: “dh_python2 parses Egg's namespace_packages.txt files (in addition to --namespace command line argument(s)) and drops empty __init__.py files from binary package. pycompile will regenerates them at install time and pyclean will remove them at uninstall time (if they're no longer used in installed packages”

--
Jakub Wilk
--- a/setup.py
+++ b/setup.py
@@ -54,4 +54,5 @@
       install_requires=install_requires,
       entry_points = {"console_scripts": console_scripts},
       zip_safe=False,
+      namespace_packages=['melange'],
 )

Reply via email to