buckket / twtxt

Decentralised, minimalist microblogging service for hackers.
http://twtxt.readthedocs.org/en/stable/
MIT License
1.92k stars 79 forks source link

Make package executable when using python -m #45

Closed timofurrer closed 8 years ago

timofurrer commented 8 years ago

Support executing the twtxt package. This becomes very handy when using multiple python versions and in virtualenvs:

python -m twtxt
python3.4 -m twtxt
python3.5 -m twtxt
timofurrer commented 8 years ago

If you prefer, for whatever reason, to have a cli.py I could import this module in __main__.py to provide the same functionality ..