[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] [PATCH 3/3] control contents of sdist tarball

This updates adds the MANIFEST.in file which is used by sdist
to determine what is and what is not included in the tarball.

Some research indiecated that setuptools_git used git-ls-files
to create the filelist and this what tested.  Simply having
setup/sdist create the MANIFEST using its own rules was also
tested.  Nether turned out as a good answer.

Using git-ls-files still needs some files added which are
intensionally not tracked by git such as virtcli/cli.cfg,
virtcli/version.pl, and virt-manager.spec.

Using no MANIFEST and letting setup/sdist create the list
was also undesirable because it included a lot of things
which should not be distributed such as 00* patches.

The result is the creation and addition of MANIFEST.in

Unfortunately, you cannot just specify what must be excluded but
need to specify a number of directories that must be included.

The work, patches, and outgoing directories are local directories
that will be excluded.
Signed-off-by: Gene Czarcinski <gene czarc net>
 MANIFEST.in | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 MANIFEST.in

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..623259b
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,27 @@
+# to be included/excluded from the tarball produced by sdist
+exclude MANIFEST*
+include MANIFEST
+include MANIFEST.in
+include todo.txt
+include .tx/config
+include virt-manager*
+recursive-include man *
+recursive-include po *
+recursive-include ui *
+recursive-include data *
+recursive-include tests *
+recursive-include virtcli *
+exclude virtcli/*.pyc
+recursive-include virtconv *
+recursive-include virtManager *
+recursive-include virtManagerTui *
+recursive-exclude build *
+recursive-exclude dist *
+exclude build dist
+exclude .gitignore
+# patches:
+exclude 0*
+# local/development directories
+exclude work
+exclude outgoing patches

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]