From 5f0f2f90361a4c0a76478b288998595fc3ddebd2 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 8 Apr 2020 10:38:14 -0300 Subject: Added my old emacs config --- .../site-packages/epc-0.0.5.dist-info/INSTALLER | 1 + .../site-packages/epc-0.0.5.dist-info/METADATA | 135 +++++++++++++++++++++ .../site-packages/epc-0.0.5.dist-info/RECORD | 33 +++++ .../site-packages/epc-0.0.5.dist-info/WHEEL | 5 + .../epc-0.0.5.dist-info/top_level.txt | 1 + 5 files changed, 175 insertions(+) create mode 100644 .emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/INSTALLER create mode 100644 .emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/METADATA create mode 100644 .emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/RECORD create mode 100644 .emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/WHEEL create mode 100644 .emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/top_level.txt (limited to '.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info') diff --git a/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/INSTALLER b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/METADATA b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/METADATA new file mode 100644 index 00000000..4a9812e6 --- /dev/null +++ b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/METADATA @@ -0,0 +1,135 @@ +Metadata-Version: 2.1 +Name: epc +Version: 0.0.5 +Summary: EPC (RPC stack for Emacs Lisp) implementation in Python +Home-page: https://github.com/tkf/python-epc +Author: Takafumi Arakaki +Author-email: aka.tkf@gmail.com +License: GNU General Public License v3 (GPLv3) +Keywords: Emacs,RPC +Platform: UNKNOWN +Classifier: Development Status :: 3 - Alpha +Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3) +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.2 +Classifier: Programming Language :: Emacs-Lisp +Requires-Dist: sexpdata (>=0.0.3) + + +EPC (RPC stack for Emacs Lisp) for Python +========================================= + +Links: + +* `Documentation `_ (at Read the Docs) +* `Repository `_ (at GitHub) +* `Issue tracker `_ (at GitHub) +* `PyPI `_ +* `Travis CI `_ |build-status| + +Other resources: + +* `kiwanami/emacs-epc `_ + (Client and server implementation in Emacs Lisp and Perl.) +* `tkf/emacs-jedi `_ + (Python completion for Emacs using EPC server.) + +.. |build-status| + image:: https://secure.travis-ci.org/tkf/python-epc.png + ?branch=master + :target: http://travis-ci.org/tkf/python-epc + :alt: Build Status + + +What is this? +------------- + +EPC is an RPC stack for Emacs Lisp and Python-EPC is its server side +and client side implementation in Python. Using Python-EPC, you can +easily call Emacs Lisp functions from Python and Python functions from +Emacs. For example, you can use Python GUI module to build widgets +for Emacs (see `examples/gtk/server.py`_ for example). + +Python-EPC is tested against Python 2.6, 2.7 and 3.2. + +Install +------- + +To install Python-EPC and its dependency sexpdata_, run the following +command.:: + + pip install epc + +.. _sexpdata: https://github.com/tkf/sexpdata + + +Usage +----- + +Save the following code as ``my-server.py``. +(You can find functionally the same code in `examples/echo/server.py`_):: + + from epc.server import EPCServer + + server = EPCServer(('localhost', 0)) + + @server.register_function + def echo(*a): + return a + + server.print_port() + server.serve_forever() + + +And then run the following code from Emacs. +This is a stripped version of `examples/echo/client.el`_ included in +Python-EPC repository_.:: + + (require 'epc) + + (defvar my-epc (epc:start-epc "python" '("my-server.py"))) + + (deferred:$ + (epc:call-deferred my-epc 'echo '(10)) + (deferred:nextc it + (lambda (x) (message "Return : %S" x)))) + + (message "Return : %S" (epc:call-sync my-epc 'echo '(10 40))) + + +.. _examples/echo/server.py: + https://github.com/tkf/python-epc/blob/master/examples/echo/server.py +.. _examples/echo/client.el: + https://github.com/tkf/python-epc/blob/master/examples/echo/client.el + +If you have carton_ installed, you can run the above sample by +simply typing the following commands:: + + make elpa # install EPC in a separated environment + make run-sample # run examples/echo/client.el + +.. _carton: https://github.com/rejeep/carton + + +For example of bidirectional communication and integration with GTK, +see `examples/gtk/server.py`_. You can run this example by:: + + make elpa + make run-gtk-sample # run examples/gtk/client.el + +.. _examples/gtk/server.py: + https://github.com/tkf/python-epc/blob/master/examples/gtk/server.py + + +License +------- + +Python-EPC is licensed under GPL v3. +See COPYING for details. + + + diff --git a/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/RECORD b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/RECORD new file mode 100644 index 00000000..085d5a44 --- /dev/null +++ b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/RECORD @@ -0,0 +1,33 @@ +epc-0.0.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +epc-0.0.5.dist-info/METADATA,sha256=8sVLUEeMgab3gWpPldH6myWDniKsglveBshPVNGPL0E,3820 +epc-0.0.5.dist-info/RECORD,, +epc-0.0.5.dist-info/WHEEL,sha256=0rHDOana14hzsaua2J2L7Ztk6sto42O0noJt7O00ZjE,93 +epc-0.0.5.dist-info/top_level.txt,sha256=9dT_oS-8LtmnaKriVBH7UatoUKH6fcL7WEdxrp7Fg7E,4 +epc/__init__.py,sha256=I3Xw7nrtgJMsWouE_jscKYYBxZ1IOAGMKh0UqgW5D2I,3910 +epc/__pycache__/__init__.cpython-37.pyc,, +epc/__pycache__/client.cpython-37.pyc,, +epc/__pycache__/core.cpython-37.pyc,, +epc/__pycache__/handler.cpython-37.pyc,, +epc/__pycache__/py3compat.cpython-37.pyc,, +epc/__pycache__/server.cpython-37.pyc,, +epc/__pycache__/utils.cpython-37.pyc,, +epc/client.py,sha256=PM1pfyEDjnRALvYNyaZaedevzTg6X6Cfn3-JppkHlYY,4301 +epc/core.py,sha256=lL8o0dD4xVnnvFQzJibpiFCohzA7lYs5EBol0MGkQ5g,3936 +epc/handler.py,sha256=3uXV7Oc2xnfIyz0kC_LZOkLrTYpjrNUyWNUfAU4PWFg,13330 +epc/py3compat.py,sha256=TaJfvF6AXVQR11RGt4TWV1BK3Gc1iYfppQa8AywXtP4,1449 +epc/server.py,sha256=UKqiP4vw-6dCcIhZ2g0J1M6ezaMPgFfW5jXyhqZHviE,7616 +epc/tests/__init__.py,sha256=5xTdi6LZ3_JIon6cOURs6viwSNjkz8yx23LE03OGLMg,673 +epc/tests/__pycache__/__init__.cpython-37.pyc,, +epc/tests/__pycache__/test_client.cpython-37.pyc,, +epc/tests/__pycache__/test_dispatcher.cpython-37.pyc,, +epc/tests/__pycache__/test_py2py.cpython-37.pyc,, +epc/tests/__pycache__/test_server.cpython-37.pyc,, +epc/tests/__pycache__/test_utils.cpython-37.pyc,, +epc/tests/__pycache__/utils.cpython-37.pyc,, +epc/tests/test_client.py,sha256=tbc4D6UhdR-EuJXvOXCmkFD7XXippQ6gCXllBKccqk4,5032 +epc/tests/test_dispatcher.py,sha256=loYRq8NJjY-LPKCB3hq5xkotVsXzTxrhS2pv7jxpMZM,2164 +epc/tests/test_py2py.py,sha256=W6Z5qZqS4HlG3GUu0eb13gpesdkME6wKcoIKQ01Eamw,6880 +epc/tests/test_server.py,sha256=x6wBBy1P9jscn5NJa9wLJfDEcKmJXW6GvM2Tft0Rnbc,12370 +epc/tests/test_utils.py,sha256=BeYRL8Z3UF8zRRTxIVzK1drvMBvIE_BxKzBVBxX8R1o,1883 +epc/tests/utils.py,sha256=mhCkWRq8v2a5KG030JuDfZRXeDyou_ozvDmeQnL5FAA,3181 +epc/utils.py,sha256=K7UfgeuFCLgiq2jirbkzIv37WsXWe0kBJduhJ2rschk,4375 diff --git a/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/WHEEL b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/WHEEL new file mode 100644 index 00000000..c1ce8476 --- /dev/null +++ b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.33.4) +Root-Is-Purelib: true +Tag: cp37-none-any + diff --git a/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/top_level.txt b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/top_level.txt new file mode 100644 index 00000000..5ab38b55 --- /dev/null +++ b/.emacs.d.back/.python-environments/default/lib/python3.7/site-packages/epc-0.0.5.dist-info/top_level.txt @@ -0,0 +1 @@ +epc -- cgit v1.2.3