Skip to content

Add *.rst to MANIFEST

Tried to upgrade to the latest version of goobook today, 3.0.0, but pip failed with the following error:

> pip install goobook
Collecting goobook
  Using cached https://files.pythonhosted.org/packages/94/2b/0d8ba6fefd31ae9679efdd17809d9ed66ffb20b5ee6f4f7df2cff63d97b1/goobook-3.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/7m/y4jt1v_918v_9jm441fjgtk00000gn/T/pip-install-IfyEnG/goobook/setup.py", line 10, in <module>
        NEWS = open(os.path.join(HERE, 'CHANGES.rst')).read()
    IOError: [Errno 2] No such file or directory: '/private/var/folders/7m/y4jt1v_918v_9jm441fjgtk00000gn/T/pip-install-IfyEnG/goobook/CHANGES.rst'

    ----------------------------------------

It turns out we were not including all the *.rst files in the final tarball, and since we were trying to read CHANGES.rst from setup.py, that's why the error.

Merge request reports