CMakePP / CMinx

Generates API documentation for CMake functions and macros
https://cmakepp.github.io/CMinx/
Apache License 2.0
14 stars 5 forks source link

Clean-up manual pip install #24

Closed ryanmrichard closed 4 years ago

ryanmrichard commented 4 years ago

When I manually install cmakedoc the installation appears to work, but I get some errors in the logs (vide infra). It would be good to fix/remove these errors from the logs.

ryan@babyruth:~/CMakePP/CMakeDoc$ python3 -m venv virt-env
ryan@babyruth:~/CMakePP/CMakeDoc$ source virt-env/bin/activate
(virt-env) ryan@babyruth:~/CMakePP/CMakeDoc$ pip3 install .
Processing /home/ryan/CMakePP/CMakeDoc
Collecting antlr4-python3-runtime (from CMakeDoc==1.0)
  Using cached https://files.pythonhosted.org/packages/56/02/789a0bddf9c9b31b14c3e79ec22b9656185a803dc31c15f006f9855ece0d/antlr4-python3-runtime-4.8.tar.gz
Building wheels for collected packages: CMakeDoc, antlr4-python3-runtime
  Running setup.py bdist_wheel for CMakeDoc ... error
  Complete output from command /home/ryan/CMakePP/CMakeDoc/virt-env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-req-build-37yw35o7/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-bnxgwait --python-tag cp37:
  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 CMakeDoc
  Running setup.py clean for CMakeDoc
  Running setup.py bdist_wheel for antlr4-python3-runtime ... error
  Complete output from command /home/ryan/CMakePP/CMakeDoc/virt-env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-seo90jl9/antlr4-python3-runtime/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-dqaujyzw --python-tag cp37:
  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 antlr4-python3-runtime
  Running setup.py clean for antlr4-python3-runtime
Failed to build CMakeDoc antlr4-python3-runtime
Installing collected packages: antlr4-python3-runtime, CMakeDoc
  Running setup.py install for antlr4-python3-runtime ... done
  Running setup.py install for CMakeDoc ... done
Successfully installed CMakeDoc-1.0 antlr4-python3-runtime-4.8
AutonomicPerfectionist commented 4 years ago

This is a common problem with pip manual install, the wheel package must be installed prior to manual installing a package, instructions will be updated shortly