Issue #13 resolved

pyroma crashes with "KeyError: '_setuptools'"

David 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/__init__.py", line 58, in main
    run(sys.argv[1])
  File "/usr/local/lib/python2.7/dist-packages/pyroma/__init__.py", line 37, in run
    rating = ratings.rate(data)
  File "/usr/local/lib/python2.7/dist-packages/pyroma/ratings.py", line 305, in rate
    res = test.test(data)
  File "/usr/local/lib/python2.7/dist-packages/pyroma/ratings.py", line 197, in test
    if data['_setuptools']:
KeyError: '_setuptools'

Comments (2)

  1. Log in to comment