diff --git a/MANIFEST.in b/MANIFEST.in index 49c2760..a4e7aed 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include *.txt +include *.rst recursive-include docs * recursive-include persistent * @@ -7,3 +8,9 @@ global-exclude *.dll global-exclude *.pyc global-exclude *.pyo global-exclude *.so + +include .coveragerc +include .travis.yml +include buildout.cfg +include tox.ini +include *.py diff --git a/setup.py b/setup.py index 8f0be72..38f4e45 100644 --- a/setup.py +++ b/setup.py @@ -25,12 +25,11 @@ here = os.path.abspath(os.path.dirname(__file__)) + def _read_file(filename): - try: - with open(os.path.join(here, filename)) as f: - return f.read() - except IOError: # Travis??? - return '' + with open(os.path.join(here, filename)) as f: + return f.read() + README = (_read_file('README.rst') + '\n\n' + _read_file('CHANGES.rst'))