changeset 3090:93ae352854be

add _tests/ directories to the dist archive, but do not install them using setup.py
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 03 Feb 2008 21:49:26 +0100
parents 7345503952dd
children 7e710fa829d0
files MANIFEST.in setup.py
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MANIFEST.in	Sat Feb 23 00:39:18 2008 +0100
+++ b/MANIFEST.in	Sun Feb 03 21:49:26 2008 +0100
@@ -18,16 +18,19 @@
 
 # tests stuff
 recursive-include   tests *
+global-include */_tests/*
 
 # "wiki" directory
 recursive-include   wiki *
 
-# omit CVS / arch directories
+# omit revision control, python bytecode
 global-exclude */CVS/*
 global-exclude */.cvsignore
 global-exclude */.arch-ids/*
 global-exclude *.pyc
 global-exclude *.pyo
+
+# we distribute a uncompressed version, no need for that:
 global-exclude underlay.tar.bz2
 global-exclude README.underlay
 
--- a/setup.py	Sat Feb 23 00:39:18 2008 +0100
+++ b/setup.py	Sun Feb 03 21:49:26 2008 +0100
@@ -256,8 +256,8 @@
         'MoinMoin.wikixml',
         'MoinMoin.xmlrpc',
 
-        # if we get *massive* amounts of test, this should probably be left out
-        'MoinMoin._tests',
+        # all other _tests are missing here, either we have all or nothing:
+        #'MoinMoin._tests',
     ],
 
     # We can use package_* instead of the smart_install_data hack when we