agiliq/Django-parsley — pull request #4 by AusIV (2013-02-21 01:43:35+00:00)
Title: Make the source distribution installable

Currently the source distribution going to the PyPI doesn't include the README.md, but the call to setup() requires it to be adjacent to the setup.py file. This means the version of this library in PyPI is not installable.

This patch makes the read() function return an empty string if it can't open the README.md. This means the PKG-INFO will still have the readme info, but the package can install without the README.

There may be another way to handle this with the find_package_data function to include the README.md in the source distribution, so it can be included properly.