psycofdj / coverxygen

Generate doxygen's documentation coverage report
GNU General Public License v3.0
49 stars 11 forks source link

Add setuptools to prerequisites #5

Closed dnoliver closed 7 years ago

dnoliver commented 7 years ago

I tried to install this, and it fails because there is not setuptools module

root@9c426af140c0:/usr/src/app# pip3 install coverxygen
Collecting coverxygen
  Using cached coverxygen-1.3.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named 'setuptools'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_8m3d7_m/coverxygen/
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I was able to install it after installing setuptools

root@9c426af140c0:/usr/src/app# pip3 install setuptools
Collecting setuptools
  Downloading setuptools-36.2.7-py2.py3-none-any.whl (477kB)
    100% |################################| 481kB 2.1MB/s
Installing collected packages: setuptools
Successfully installed setuptools-36.2.7
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@9c426af140c0:/usr/src/app# pip3 install coverxygen
Collecting coverxygen
  Using cached coverxygen-1.3.0.tar.gz
Building wheels for collected packages: coverxygen
  Running setup.py bdist_wheel for coverxygen ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-z6ddhwqk/coverxygen/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmps3fokatxpip-wheel- --python-tag cp35:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for coverxygen
  Running setup.py clean for coverxygen
Failed to build coverxygen
Installing collected packages: coverxygen
  Running setup.py install for coverxygen ... done
Successfully installed coverxygen-1.3.0
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@9c426af140c0:/usr/src/app#
psycofdj commented 7 years ago

Hi, setuptools is indeed needed to install coverxygen from pip

By the way, python3-setuptools is itself a dendency of python3-pip in debian/ubuntu packages