[Scipy-svn] r2222 - trunk

scipy-svn at scipy.org scipy-svn at scipy.org
Sun Sep 24 01:12:33 EDT 2006


Author: rkern
Date: 2006-09-24 00:12:27 -0500 (Sun, 24 Sep 2006)
New Revision: 2222

Added:
   trunk/new_manifest.sh
Modified:
   trunk/MANIFEST.in
Log:
Include sandbox files in MANIFEST.in so they will be packaged into source distributions.

Modified: trunk/MANIFEST.in
===================================================================
--- trunk/MANIFEST.in	2006-09-24 04:41:36 UTC (rev 2221)
+++ trunk/MANIFEST.in	2006-09-24 05:12:27 UTC (rev 2222)
@@ -1,6 +1,77 @@
-#prune scipy_core
+# This automatically generated by new_manifest.sh
+#
+# Note: for files required to build extensions, you probably want to
+# place them in the Extension depend list, rather than in this file.
+#
 include setup.py
 include *.txt
 include Lib/*.py
-# No more files here! They should be probably added
-# to Extension depend argument list.
\ No newline at end of file
+#
+# The following files are in the sandbox and wouldn't normally get included in sdist:
+#
+include Lib/sandbox/ann/*
+include Lib/sandbox/ann/data/*
+include Lib/sandbox/arraysetops/*
+include Lib/sandbox/arraysetops/tests/*
+include Lib/sandbox/buildgrid/*
+include Lib/sandbox/constants/*
+include Lib/sandbox/cow/*
+include Lib/sandbox/delaunay/*
+include Lib/sandbox/delaunay/tests/*
+include Lib/sandbox/exmplpackage/*
+include Lib/sandbox/exmplpackage/tests/*
+include Lib/sandbox/exmplpackage/yyy/*
+include Lib/sandbox/exmplpackage/yyy/tests/*
+include Lib/sandbox/fdfpack/*
+include Lib/sandbox/fdfpack/src/*
+include Lib/sandbox/fdfpack/tests/*
+include Lib/sandbox/fdfpack/utils/*
+include Lib/sandbox/ga/*
+include Lib/sandbox/gplt/*
+include Lib/sandbox/image/*
+include Lib/sandbox/models/*
+include Lib/sandbox/models/family/*
+include Lib/sandbox/models/robust/*
+include Lib/sandbox/models/tests/*
+include Lib/sandbox/montecarlo/*
+include Lib/sandbox/montecarlo/src/*
+include Lib/sandbox/montecarlo/tests/*
+include Lib/sandbox/netcdf/*
+include Lib/sandbox/newoptimize/*
+include Lib/sandbox/numexpr/*
+include Lib/sandbox/numexpr/tests/*
+include Lib/sandbox/odr/*
+include Lib/sandbox/odr/odrpack/*
+include Lib/sandbox/plt/*
+include Lib/sandbox/pysparse/*
+include Lib/sandbox/pysparse/Tools/*
+include Lib/sandbox/pysparse/amd/*
+include Lib/sandbox/pysparse/docs/*
+include Lib/sandbox/pysparse/examples/*
+include Lib/sandbox/pysparse/examples/poisson_test/*
+include Lib/sandbox/pysparse/include/*
+include Lib/sandbox/pysparse/include/pysparse/*
+include Lib/sandbox/pysparse/lib/*
+include Lib/sandbox/pysparse/src/*
+include Lib/sandbox/pysparse/superlu/*
+include Lib/sandbox/pysparse/tests/*
+include Lib/sandbox/pysparse/umfpack/*
+include Lib/sandbox/rkern/*
+include Lib/sandbox/stats/*
+include Lib/sandbox/svm/*
+include Lib/sandbox/svm/libsvm-2.82/*
+include Lib/sandbox/svm/tests/*
+include Lib/sandbox/umfpack/*
+include Lib/sandbox/umfpack/umfpack/*
+include Lib/sandbox/xplt/*
+include Lib/sandbox/xplt/gistdata/*
+include Lib/sandbox/xplt/pygist/*
+include Lib/sandbox/xplt/src/*
+include Lib/sandbox/xplt/src/g/*
+include Lib/sandbox/xplt/src/gist/*
+include Lib/sandbox/xplt/src/play/*
+include Lib/sandbox/xplt/src/play/all/*
+include Lib/sandbox/xplt/src/play/mac/*
+include Lib/sandbox/xplt/src/play/unix/*
+include Lib/sandbox/xplt/src/play/win/*
+include Lib/sandbox/xplt/src/play/x11/*

Added: trunk/new_manifest.sh
===================================================================
--- trunk/new_manifest.sh	2006-09-24 04:41:36 UTC (rev 2221)
+++ trunk/new_manifest.sh	2006-09-24 05:12:27 UTC (rev 2222)
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# This little script re-generates MANIFEST.in to include files that
+# wouldn't otherwise get picked up by distutils. This is relevant when
+# building source distributions using "python setup.py sdist", which
+# would otherwise leave these files out.
+
+MANIFEST_IN=MANIFEST.in
+SANDBOX_DIR="Lib/sandbox"
+
+cat <<EOF > $MANIFEST_IN
+# This automatically generated by new_manifest.sh
+#
+# Note: for files required to build extensions, you probably want to
+# place them in the Extension depend list, rather than in this file.
+#
+include setup.py
+include *.txt
+include Lib/*.py
+#
+# The following files are in the sandbox and wouldn't normally get included in sdist:
+#
+EOF
+
+for i in `svn ls -R $SANDBOX_DIR`; do
+  if test -d $SANDBOX_DIR/$i; then
+    echo "include $SANDBOX_DIR/$i*" >>  $MANIFEST_IN
+  fi
+done


Property changes on: trunk/new_manifest.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the Scipy-svn mailing list