diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-10-27 00:02:52 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-10-27 00:07:18 -0400 |
commit | 3217d17d0cd8a1bff007b063ed787905e6d0d7ba (patch) | |
tree | 0f6a58be520c94f4193abf67003c59839c99d838 /setup.py | |
parent | a947f32b310005c4cc3e65a39504e0b32fb66bab (diff) | |
download | python-systemd-3217d17d0cd8a1bff007b063ed787905e6d0d7ba.tar.gz |
build-sys: include tests in installation
This also allows tests to be run against he build directory:
$ py.test-2.7 -v build/lib.linux-x86_64-2.7 docs
$ py.test-3.4 -v build/lib.linux-x86_64-3.4 docs
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -95,7 +95,8 @@ setup (name = 'python-systemd', 'Topic :: System :: Logging', 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', ], - py_modules = ['systemd.journal', 'systemd.daemon'], + py_modules = ['systemd.journal', 'systemd.daemon', + 'systemd.test.test_daemon', 'systemd.test.test_journal'], ext_modules = [_journal, _reader, _daemon, |