]>
crepu.dev Git - config.git/blob - djavu-asus/elpa/elpy-20230803.1455/elpy/__main__.py
1 """Main interface to the RPC server.
3 You should be able to just run the following to use this module:
7 The first line should be "elpy-rpc ready". If it isn't, something
16 from elpy
.server
import ElpyRPCServer
18 if __name__
== '__main__':
21 sys
.stdout
= sys
.stderr
= open(os
.devnull
, "w")
22 stdout
.write('elpy-rpc ready ({0})\n'
23 .format(elpy
.__version
__))
25 ElpyRPCServer(stdin
, stdout
).serve_forever()