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
2019-02-19 17:50:32 -05:00
parent 5c1d5d6e52
commit 7bfb87fab7
3 changed files with 13 additions and 2 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
python2 -m dkimpy_milter "$@"