]> git-server-git.apps.pok.os.sepia.ceph.com Git - remoto.git/commit
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)
commit3de87bc296991375a0ba2e777bc5a14fdae3cf51
tree754a9a61c2babb7aed920568e4a1a0c2ff874c41
parent9f3baa9763f5f63a82a5bb05a8da801dbc16ebe0
include tests in distribution package tarball

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