mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 02:40:07 +00:00
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:
parent
7381b4a0aa
commit
77b3ab019d
6
src/allmydata/__main__.py
Normal file
6
src/allmydata/__main__.py
Normal file
@ -0,0 +1,6 @@
|
||||
import sys
|
||||
|
||||
from allmydata.scripts.runner import run
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(run())
|
Loading…
Reference in New Issue
Block a user