Issue #13 resolved

pyroma crashes with "KeyError: '_setuptools'"

David Jean Louis avatarDavid Jean Louis created an issue

Hi, I installed pyroma in a virtualenv and also tried a system wide install, here's the traceback I get for my packages (polib and django-admin-tools):

$ pyroma polib
Checking polib
Found polib version 1.0.3
Looking for documentation
Found polib
Traceback (most recent call last):
  File "/usr/local/bin/pyroma", line 9, in <module>
    load_entry_point('pyroma==1.3.1', 'console_scripts', 'pyroma')()
  File "/usr/local/lib/python2.7/dist-packages/pyroma/", line 58, in main
  File "/usr/local/lib/python2.7/dist-packages/pyroma/", line 37, in run
    rating = ratings.rate(data)
  File "/usr/local/lib/python2.7/dist-packages/pyroma/", line 305, in rate
    res = test.test(data)
  File "/usr/local/lib/python2.7/dist-packages/pyroma/", line 197, in test
    if data['_setuptools']:
KeyError: '_setuptools'

Comments (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.