ejeschke/ginga — pull request #27 by sergiopasra (2013-07-17 22:49:23+00:00)
Title: Include README.txt and LICENSE.txt in the source distribution without installing them

With the current setup.py file, README.txt and LICENSE.txt are installed under %prefix when the package is installed via "python setup.py install" The default prefix in linux is /usr/local, so these files end up there.

I think this behaviour is not intented (usually README.txt and LICENSE.txt are not installed), so I have created MANIFEST.in and I have added LICENSE.txt to it.
The MANIFEST file is created from the template MANIFEST.in. README.txt is added to MANIFEST by default and LICENSE.txt is included from MANIFEST.in

I have removed the line in setup.py that mentions REAME and LICENSE.

With these modification, README.txt and LICENSE.txt are included in the source distribution but not installed by python setup.py install