-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename baseplate-tshell to baseplate-shell
It turns out that since Apache Thrift, we're standardized on how the application object works so we can use this shell for both kinds of services. Not only is this simpler to think about, but it also means we're not using different configuration parsing for Pyramid shells which fixes #367.
- Loading branch information
Showing
6 changed files
with
42 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env python | ||
|
||
# this is here and not just a console_script entry point because we want the | ||
# gevent monkeypatching to happen before any pieces of baseplate are imported | ||
# at all, as would happen if we were to have this code be in the baseplate | ||
# package. | ||
|
||
from gevent.monkey import patch_all | ||
|
||
patch_all() | ||
|
||
from baseplate.server import load_and_run_shell | ||
|
||
load_and_run_shell() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters