diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-04-24 13:46:46 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-04-24 13:46:46 -0400 |
commit | a4e806afe878a0f9ff2c65a4ecc579d5a993b976 (patch) | |
tree | d3fc6f719e6bc766bd87cab033e247c86e866a3b | |
parent | 5a8338a32446b6e29268241004cac0568994fa58 (diff) | |
download | cherrypy-a4e806afe878a0f9ff2c65a4ecc579d5a993b976.tar.gz |
Allow cherrypy daemon to be launched with python -m cherrypy
-rwxr-xr-x | cherrypy/__main__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cherrypy/__main__.py b/cherrypy/__main__.py new file mode 100755 index 00000000..b1c9c012 --- /dev/null +++ b/cherrypy/__main__.py @@ -0,0 +1,4 @@ +import cherrypy.daemon + +if __name__ == '__main__': + cherrypy.daemon.run() |