Skip to content

Commit dc749e3

Browse files
committed
Update installation instructions
1 parent 282c56d commit dc749e3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A minimal Websockets Server in Python with no external dependencies.
77
* Clean simple API
88
* Multiple clients
99
* No dependencies
10-
10+
1111
Notice that this implementation does not support the more advanced features
1212
like SSL etc. The project is focused mainly on making it easy to run a
1313
websocket server for prototyping, testing or for making a GUI for your application.
@@ -18,16 +18,18 @@ Usage
1818
You can get a feel of how to use the websocket server by running
1919

2020
python server.py
21-
21+
2222
Then just open `client.html` in your browser and you should be able to send and receive messages.
2323

2424

2525
Using in your project
2626
=======================
27-
You can either simply copy/paste the *websocket_server.py* file in your project and use it directly (recommended)
28-
or you can install the project directly from PyPi (might not be up-to-date):
2927

30-
pip install websocket-server
28+
You can use the project in three ways.
29+
30+
1. Copy/paste the *websocket_server.py* file in your project and use it directly
31+
2. `pip install git://github.com/Pithikos/python-websocket-server` (latest code)
32+
3. `pip install websocket-server` (might not be up-to-date)
3133

3234
For coding details have a look at the [*server.py*](https://github.com/Pithikos/python-websocket-server/blob/master/server.py) example and the [API](https://github.com/Pithikos/python-websocket-server#api).
3335

@@ -97,4 +99,3 @@ Client is just a dictionary passed along methods.
9799
'address' : (addr, port)
98100
}
99101
````
100-

0 commit comments

Comments
 (0)