From c084ca3eb5cf16b153b2b1eb0971e90065db2902 Mon Sep 17 00:00:00 2001 From: Bradley Ayers Date: Thu, 12 May 2011 07:19:20 +1000 Subject: [PATCH] Fixed rogue tests/ and example/ packages being installed in site-packages --- MANIFEST.in | 2 ++ docs/conf.py | 4 ++-- setup.py | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index de0c1f4..5962fc8 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ include README.rst recursive-include django_tables/templates * recursive-include django_tables/static * +recursive-include example/app/fixtures * +recursive-include example/app/templates * diff --git a/docs/conf.py b/docs/conf.py index e8e8675..a953d49 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,9 +50,9 @@ project = u'django-tables' # built documents. # # The short X.Y version. -version = '0.4.1' +version = '0.4.2' # The full version, including alpha/beta/rc tags. -release = '0.4.1' +release = '0.4.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 5842fce..5e7d230 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='django-tables', - version='0.4.1', + version='0.4.2', description='Table framework for Django', author='Bradley Ayers', @@ -12,7 +12,7 @@ setup( license='Simplified BSD', url='https://github.com/bradleyayers/django-tables/', - packages=find_packages(), + packages=find_packages(exclude=['tests.*', 'tests', 'example.*', 'example']), include_package_data=True, # declarations in MANIFEST.in install_requires=['Django >=1.1'], -- 2.26.2