Commits

kgra...@ubuntu  committed 3dcd35b

added MANIFEST.in to allow README.rst and proper PyPI

  • Participants
  • Parent commits 1d74082

Comments (0)

Files changed (2)

+include README.rst
 import os
 from setuptools import setup
 
-f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
-long_description = f.read().strip()
-f.close()
+def read(fname):
+    return open(os.path.join(os.path.dirname(__file__), fname)).read().strip()
 
-VERSION = '0.1.4'
+VERSION = '0.1.5'
 
 setup(
     name = "nose-exclude",
     author = "Kurt Grandis",
     author_email = "kgrandis@gmail.com",
     description = "Exclude specific directories from nosetests runs.",
-    long_description = long_description,
+    long_description = read('README.rst'),
     license = 'GNU LGPL',
     url = "http://bitbucket.org/kgrandis/nose-exclude",
     classifiers = [
         ],
 
     py_modules = ['nose_exclude'],
-    package_data = {'':['README.rst']},
     zip_safe = False,
     
     entry_points = {