Skip to content

Commit ec876bb

Browse files
authored
Improve/simplify README Development section (#473)
1 parent 5f53f8e commit ec876bb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pip install -U setuptools
4848
If you use Anaconda/Miniconda, you can install `python-lsp-server` using this conda command
4949

5050
```
51-
conda install -c conda-forge python-lsp-server
51+
conda install -c conda-forge python-lsp-server
5252
```
5353

5454
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]'
164164
Dev install
165165
166166
```
167-
# create conda env
168-
conda create --name python-lsp-server python=3.8 -y
167+
# (optional) create conda env
168+
conda create --name python-lsp-server python=3.11 -y
169169
conda activate python-lsp-server
170170

171-
pip install ".[all]"
172-
pip install ".[websockets]"
171+
pip install -e ".[all,websockets,test]"
173172
```
174173
175174
Run server with ws
176175
177176
```
178-
pylsp --ws -v # Info level logging
179-
pylsp --ws -v -v # Debug level logging
177+
pylsp --ws -v # Info level logging
178+
pylsp --ws -vv # Debug level logging
180179
```
181180
182181
To run the test suite:
183182
184183
```sh
185-
pip install ".[test]" && pytest
184+
# requires: pip install ".[test]" (see above)
185+
pytest
186186
```
187187

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

0 commit comments

Comments
 (0)