Skip to content

Commit 3217d17

Browse files
committed
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
1 parent a947f32 commit 3217d17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def lib(*names, **kw):
9595
'Topic :: System :: Logging',
9696
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
9797
],
98-
py_modules = ['systemd.journal', 'systemd.daemon'],
98+
py_modules = ['systemd.journal', 'systemd.daemon',
99+
'systemd.test.test_daemon', 'systemd.test.test_journal'],
99100
ext_modules = [_journal,
100101
_reader,
101102
_daemon,

0 commit comments

Comments
 (0)