summaryrefslogtreecommitdiff
path: root/MANIFEST.in
diff options
context:
space:
mode:
authorGene Czarcinski <gene@czarc.net>2013-04-09 15:18:59 -0400
committerCole Robinson <crobinso@redhat.com>2013-04-10 16:20:32 -0400
commitfde67ce3d378f978c8ca454ba195ae33240dfb5f (patch)
tree081dd3e84697f96a27fd02a3f95dfcd6583c1696 /MANIFEST.in
parent1876ce0af81d996acfe08bd3faf06d59e1fd99f5 (diff)
downloadvirt-manager-fde67ce3d378f978c8ca454ba195ae33240dfb5f.tar.gz
add MANIFEST.in to specify includes and excludes
With no MANIFEST.in, distutils/setup/sdist gets the filelist mostly correct except that it adds in whatever is in the top directory. Using git-ls-files is not a good solution either because a number of additional files (not git managed) will be needed. The solution is to use a MANIFEST.in. All of the toplevel files which are to be included will need to be specified. Also, each directory will need to be specified and unwanted files (e.g., *.pyc) excluded. Other (non-specified) files and directories will be ignored. . Signed-off-by: Gene Czarcinski <gene@czarc.net>
Diffstat (limited to 'MANIFEST.in')
-rw-r--r--MANIFEST.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 00000000..5afeeebd
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,26 @@
+# to be included/excluded from the tarball produced by sdist
+include AUTHORS COPYING HACKING INSTALL NEWS README
+include autobuild.sh
+include MANIFEST
+include MANIFEST.in
+include setup.py
+include todo.txt
+include .tx/config
+include virt-*
+exclude build dist
+recursive-include data *
+recursive-include man *
+recursive-include po *
+recursive-include tests *
+recursive-exclude tests *.pyc
+recursive-include ui *
+recursive-include virtManager *
+recursive-exclude virtManager *.pyc
+recursive-include virtManagerTui *
+recursive-exclude virtManagerTui *.pyc
+recursive-include virtcli *
+recursive-exclude virtcli/*.pyc
+recursive-include virtconv *
+recursive-exclude virtconv *.pyc
+recursive-include virtinst *
+recursive-exclude virtinst *.pyc