0.1.5 Fails to Install Because setup.py References README.rst, Which Isn't Included

Issue #41 resolved
Former user created an issue

The error looks like this:

Searching for sarge<0.2,>=0.1.4
Reading https://pypi.python.org/simple/sarge/
Best match: sarge 0.1.5
Downloading https://files.pythonhosted.org/packages/68/29/84560d890c076b7fdcdee728e647621c972b9ec9fe237577e7117f84758f/sarge-0.1.5.tar.gz#sha256=8e61e12d1024b2b363746322a36f0c31ec998ff2b069f42c8c0ed286747dd0ee
Processing sarge-0.1.5.tar.gz
Writing /tmp/easy_install-IGAvKJ/sarge-0.1.5/setup.cfg
Running sarge-0.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IGAvKJ/sarge-0.1.5/egg-dist-tmp-Ake0vR
error: [Errno 2] No such file or directory: '/tmp/easy_install-IGAvKJ/sarge-0.1.5/README.rst'

I think this just means that either README.rst needs to be in the tarball or setup.py needs to include strings directly instead of using README.rst for the description?

Comments (3)

  1. Andrew Wiley

    The stack trace looks like this:

    # python sarge-0.1.5/setup.py -q bdist_egg --dist-dir /tmp/ick/sarge-0.1.5/egg-dist-tmp-Ake0vR
    Traceback (most recent call last):
      File "sarge-0.1.5/setup.py", line 45, in <module>
        long_description=description(),
      File "sarge-0.1.5/setup.py", line 32, in description
        f = open(join(dirname(__file__), 'README.rst'))
    IOError: [Errno 2] No such file or directory: 'sarge-0.1.5/README.rst'
    
  2. Vinay Sajip repo owner

    Sorry about that. PyPI has been updated with a new release 0.1.5.post0 which contains the missing file.

    The wheel should not be affected, so I have not uploaded a new wheel.

  3. Log in to comment