Fixed rogue tests/ and example/ packages being installed in site-packages
authorBradley Ayers <bradley.ayers@gmail.com>
Wed, 11 May 2011 21:19:20 +0000 (07:19 +1000)
committerBradley Ayers <bradley.ayers@gmail.com>
Wed, 11 May 2011 21:20:02 +0000 (07:20 +1000)
MANIFEST.in
docs/conf.py
setup.py

index de0c1f4d3a7d3e4fc06353f4edce34a241183aaf..5962fc8fa89ac518edb5255adf08b8df09ed9156 100644 (file)
@@ -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 *
index e8e8675a2b3d42ddea57777135e85df829cc03b8..a953d498b1daf149239b629c098774305cb7027f 100644 (file)
@@ -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.
index 5842fce5ffdaf870a952bc7a42e64a28b6dbfdcf..5e7d23091706b773575cad7b40cbb671fdd5f0e2 100755 (executable)
--- 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'],