diff options
author | Bert JW Regeer <xistence@0x58.com> | 2017-03-15 22:49:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 22:49:22 -0600 |
commit | c130bc20b4a04bc090ae127faeac169828baf771 (patch) | |
tree | eaa7696c89972f2a27bb1d868a199a42b2973f4b | |
parent | 76b34b8411cc84ef808f4ab266271bf6a77a1071 (diff) | |
parent | 1ec534364b87640cd99a97dbaa63fb8aa17787b1 (diff) | |
download | waitress-c130bc20b4a04bc090ae127faeac169828baf771.tar.gz |
Merge pull request #155 from aodag/feature-main-module
add __main__ to run waitress by `-m` option
-rw-r--r-- | CONTRIBUTORS.txt | 1 | ||||
-rw-r--r-- | waitress/__main__.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index a53e15d..1953dee 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -137,3 +137,4 @@ Contributors - Jason Madden, 2016-03-19 +- Atsushi Odagiri, 2017-02-12
\ No newline at end of file diff --git a/waitress/__main__.py b/waitress/__main__.py new file mode 100644 index 0000000..e484f40 --- /dev/null +++ b/waitress/__main__.py @@ -0,0 +1,2 @@ +from waitress.runner import run # pragma nocover +run() # pragma nocover |