Package: pep8
Version: 0.6.1-1
Severity: important

>From a clean and minimal unstable system:

$ pep8
Traceback (most recent call last):
  File "/usr/bin/pep8", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources


After installing the package python-pkg-resources I get another error:

$ pep8
Traceback (most recent call last):
  File "/usr/bin/pep8", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2672, in 
<module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute


I then installed python-distribute (as suggested by
python-pkg-resources) that is in fact a virtual package for
python-setuptools and now pep8 is working

$ pep8
Usage: pep8 [options] input ...

pep8: error: input not specified



Maybe you should revert the change introduced in version 0.6.1-1 to fix
bug #581019 "setuptools dep unneeded, change to pkg_resources "

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pep8 depends on:
ii  python                        2.6.7-3    interactive high-level object-orie
ii  python-support                1.0.14     automated rebuilding support for P

pep8 recommends no packages.

pep8 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to