RuntimeError: 'distutils.core.setup()' was never called

Issue #34 closed
Jack Laxson
created an issue
$ pyroma taskc         
------------------------------
Checking taskc
Exception when running setup.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pyroma/projectdata.py", line 136, in run_setup
    f = open(script_name)
IOError: [Errno 2] No such file or directory: 'setup.py'
Traceback (most recent call last):
  File "/usr/local/bin/pyroma", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/pyroma/__init__.py", line 63, in main
    rating = run(mode, argument)
  File "/usr/local/lib/python2.7/dist-packages/pyroma/__init__.py", line 75, in run
    data = projectdata.get_data(os.path.abspath(argument))
  File "/usr/local/lib/python2.7/dist-packages/pyroma/projectdata.py", line 167, in get_data
    distro = run_setup('setup.py', stop_after='config')
  File "/usr/local/lib/python2.7/dist-packages/pyroma/projectdata.py", line 151, in run_setup
    script_name)
RuntimeError: 'distutils.core.setup()' was never called -- perhaps 'setup.py' is not a Distutils setup script?

Comments (4)

  1. Log in to comment