harvimt/quamash

pip fails to create wheel

jck opened this issue · 0 comments

jck commented

Starting from pip v7, pip automatically creates wheels and caches them to speed up future installs(such as in virtualenvs).

When I pip install quamash, this happens:

Collecting quamash
  Using cached Quamash-0.5.1.tar.gz
Building wheels for collected packages: quamash
  Running setup.py bdist_wheel for quamash
  Complete output from command /home/jck/.local/share/virtualenvs/e6bfc48f73624c6/bin/python3 -c "import setuptools;__file__='/tmp/jck/pip-build-7ucxlcsb/quamash/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/jck/tmpmbpkxqo7pip-wheel-:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/quamash
  copying quamash/_unix.py -> build/lib/quamash
  copying quamash/__init__.py -> build/lib/quamash
  copying quamash/_common.py -> build/lib/quamash
  copying quamash/_windows.py -> build/lib/quamash
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/quamash
  copying build/lib/quamash/_windows.py -> build/bdist.linux-x86_64/wheel/quamash
  copying build/lib/quamash/_common.py -> build/bdist.linux-x86_64/wheel/quamash
  copying build/lib/quamash/__init__.py -> build/bdist.linux-x86_64/wheel/quamash
  copying build/lib/quamash/_unix.py -> build/bdist.linux-x86_64/wheel/quamash
  running install_egg_info
  running egg_info
  writing Quamash.egg-info/PKG-INFO
  writing requirements to Quamash.egg-info/requires.txt
  writing dependency_links to Quamash.egg-info/dependency_links.txt
  writing top-level names to Quamash.egg-info/top_level.txt
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'Quamash.egg-info/SOURCES.txt'
  writing manifest file 'Quamash.egg-info/SOURCES.txt'
  Copying Quamash.egg-info to build/bdist.linux-x86_64/wheel/Quamash-0.5.1-py3.4.egg-info
  running install_scripts
  error: [Errno 2] No such file or directory: 'LICENSE'

  ----------------------------------------
  Failed building wheel for quamash
Failed to build quamash
Installing collected packages: quamash
  Running setup.py install for quamash
Successfully installed quamash-0.5.1

My guess is that the cause of the error is that the LICENSE file is not included in the sdist.