add __main__.py so "python -m allmydata" works

Thanks to dstufft for the suggestion. I know this can make it slightly
easier to run tahoe in some funny environments (where an appropriate
"python" is on your path but the generated "tahoe" executable is not).
This commit is contained in:
Brian Warner 2016-03-25 14:49:18 -07:00
parent 7381b4a0aa
commit 77b3ab019d

View File

@ -0,0 +1,6 @@
import sys
from allmydata.scripts.runner import run
if __name__ == "__main__":
sys.exit(run())