aboutsummaryrefslogtreecommitdiffstats
path: root/python/README
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-09 18:19:48 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-09 18:19:48 +0100
commit266a237f7708bf57638a9973a8a6757ca28b4d80 (patch)
tree72659c462ca2e43378a85c95c1e1c7ce8d0efde4 /python/README
parent85627172aea75430ccd809ea0a13f3c4ed3ea8a0 (diff)
downloadghdl-266a237f7708bf57638a9973a8a6757ca28b4d80.tar.gz
ghdl-266a237f7708bf57638a9973a8a6757ca28b4d80.tar.bz2
ghdl-266a237f7708bf57638a9973a8a6757ca28b4d80.zip
python: update setup.py to install ghdl-ls
Diffstat (limited to 'python/README')
-rw-r--r--python/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/python/README b/python/README
new file mode 100644
index 000000000..c82ccc4d4
--- /dev/null
+++ b/python/README
@@ -0,0 +1,18 @@
+pyghdl is a language server for VHDL based on ghdl.
+
+It implements the Language Server Protocol.
+The server is implemented in Python (3.x) but relies on libghdl for parsing.
+
+It also provides a python interface to libghdl, which could be used to
+develop tools around the parser and analyzer.
+
+To install:
+1) First install ghdl (add --enable-python during configuration).
+ This is needed so that the libraries are available
+2) In ghdl/python, install pyghdl. There is a setup.py script, so you can do:
+ $ pip install .
+ To install for development: pip install -e .
+ Add --user to install in your home directory.
+
+The executable is named 'ghdl-ls'. It uses stdin/stdout to communicate with
+its client.