Skip to content

Improve/simplify README Development section #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ pip install -U setuptools
If you use Anaconda/Miniconda, you can install `python-lsp-server` using this conda command

```
conda install -c conda-forge python-lsp-server
conda install -c conda-forge python-lsp-server
```

Python-lsp-server is available in the repos of every major Linux distribution, and it is usually called `python-lsp-server` or `python3-pylsp`.
@@ -164,25 +164,25 @@ pip install 'python-lsp-server[websockets]'
Dev install

```
# create conda env
conda create --name python-lsp-server python=3.8 -y
# (optional) create conda env
conda create --name python-lsp-server python=3.11 -y
conda activate python-lsp-server

pip install ".[all]"
pip install ".[websockets]"
pip install -e ".[all,websockets,test]"
```

Run server with ws

```
pylsp --ws -v # Info level logging
pylsp --ws -v -v # Debug level logging
pylsp --ws -v # Info level logging
pylsp --ws -vv # Debug level logging
```

To run the test suite:

```sh
pip install ".[test]" && pytest
# requires: pip install ".[test]" (see above)
pytest
```

After adding configuration options to `schema.json`, refresh the `CONFIGURATION.md` file with