mirror of
https://github.com/kennethreitz-archive/plac.git
synced 2026-06-05 15:40:17 +00:00
10 lines
197 B
Python
10 lines
197 B
Python
import plac
|
|
from importer2 import FakeImporter
|
|
|
|
def main(port=2199):
|
|
main = FakeImporter('dsn')
|
|
plac.Interpreter(main).start_server(port)
|
|
|
|
if __name__ == '__main__':
|
|
plac.call(main)
|