Issue #7 resolved

VERSION.txt not found during pip install

Doug Latornell
created an issue

I think that this is a packaging issue. I grabbed the 0.3 tarball, unpacked it, and can confirm that {{{VERSION.txt}}} is missing from it.

Traceback: {{{ (bloomcast)alec:SoG-bloomcast$ pip install contextlib2 Downloading/unpacking contextlib2 Downloading contextlib2-0.3.tar.gz Running setup.py egg_info for package contextlib2 Traceback (most recent call last): File "<string>", line 14, in <module> File "/home/doug/.virtualenvs/bloomcast/build/contextlib2/setup.py", line 6, in <module> version=open('VERSION.txt').read().strip(), IOError: [Errno 2] No such file or directory: 'VERSION.txt' Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "<string>", line 14, in <module>

File "/home/doug/.virtualenvs/bloomcast/build/contextlib2/setup.py", line 6, in <module>

version=open('VERSION.txt').read().strip(),

IOError: [Errno 2] No such file or directory: 'VERSION.txt'


Command python setup.py egg_info failed with error code 1 Storing complete log in /home/doug/.pip/pip.log }}}

Comments (3)

  1. Nick Coghlan repo owner

    OK, 0.3.1 uploaded, this time built from a properly filled out MANIFEST.in. I learned from last time, and actually tested the tarball directly (both before uploading and by doing a pip install afterwards)

    Now to go fix WalkDir which almost certainly has exactly the same problem...

  2. Log in to comment