]> git-server-git.apps.pok.os.sepia.ceph.com Git - remoto.git/commitdiff
include tests in distribution package tarball
authorKen Dreyer <kdreyer@redhat.com>
Mon, 5 Jan 2015 16:32:46 +0000 (09:32 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 5 Jan 2015 16:37:49 +0000 (09:37 -0700)
Prior to this change, the "remoto/tests/" directory was present in Git,
but not present in the release tarballs we shipped on PyPI.

Discussed this with Travis and Alfredo in #ceph-devel today. Alfredo
pointed out that the reason the remoto tarball does not include the
tests directory is that there is no __init__.py file there for distutils
to find.

The solution Alfredo recommends is to add the directory to MANIFEST.in.
With this change, the tests directory is present in the source package
tarball.

The purpose of including the tests in the distribution is to 1) be
consistent with what we're doing with the ceph-deploy package, and 2)
make the tests easily available to run during the RPM builds.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
MANIFEST.in

index c0afbfe275afc64b0c205b8d1d761c1631a70ce8..3e2e86cd0195d21cf0bb4b43c4a678a8aecc2432 100644 (file)
@@ -2,3 +2,4 @@ include setup.py
 include LICENSE
 include README.rst
 include vendor.py
+recursive-include remoto/tests *