Set up __main__.py, use it in tests

This allows us to invoke dkimpy-milter as "python -m dkimpy_milter
dkimpy-milter.conf", which makes running the test suite easier.
This commit is contained in:
Daniel Kahn Gillmor committed 2019-02-21 19:21:38 -05:00
1 parent 5c1d5d6e52
commit 7bfb87fab7
3 files changed
+13 -2

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
python2 -m dkimpy_milter "$@"