remove common/test/data directory from __pkginfo__, MANIFEST and debian rules to allow cubicweb installation
authorStephanie Marcu <stephanie.marcu@logilab.fr>
Tue, 19 Jan 2010 17:50:48 +0100
changeset 4268 e9bed3bc1333
parent 4267 3ea88c8e7d7f
child 4269 da0d254f2eb0
remove common/test/data directory from __pkginfo__, MANIFEST and debian rules to allow cubicweb installation
MANIFEST.in
__pkginfo__.py
debian.hardy/rules
--- a/MANIFEST.in	Tue Jan 19 17:50:36 2010 +0100
+++ b/MANIFEST.in	Tue Jan 19 17:50:48 2010 +0100
@@ -17,7 +17,6 @@
 recursive-include i18n *.pot *.po
 recursive-include schemas *.py *.sql.*
 
-recursive-include common/test/data *
 recursive-include entities/test/data *
 recursive-include sobjects/test/data *
 recursive-include server/test/data *
--- a/__pkginfo__.py	Tue Jan 19 17:50:36 2010 +0100
+++ b/__pkginfo__.py	Tue Jan 19 17:50:48 2010 +0100
@@ -48,7 +48,6 @@
 scripts = [s for s in glob.glob(join('bin', 'cubicweb-*'))
            if not s.endswith('.bat')]
 include_dirs = [join('test', 'data'),
-                join('common', 'test', 'data'),
                 join('server', 'test', 'data'),
                 join('web', 'test', 'data'),
                 join('devtools', 'test', 'data'),
--- a/debian.hardy/rules	Tue Jan 19 17:50:36 2010 +0100
+++ b/debian.hardy/rules	Tue Jan 19 17:50:48 2010 +0100
@@ -33,7 +33,6 @@
 	dh_clean
 	dh_installdirs
 
-	#python setup.py install_lib --no-compile --install-dir=debian/cubicweb-common/usr/lib/python2.4/site-packages/
 	python setup.py -q install --no-compile --prefix=debian/tmp/usr
 
 	# Put all the python library and data in cubicweb-common
@@ -51,7 +50,6 @@
 	rm -rf debian/cubicweb-web/usr/lib/${PY_VERSION}/site-packages/cubicweb/web/test
 	rm -rf debian/cubicweb-twisted/usr/lib/${PY_VERSION}/site-packages/cubicweb/etwist/test
 	rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/ext/test
-	rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/common/test
 	rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/entities/test
 
 	# cubes directory must be managed as a valid python module