Update README for WAMP example to use crossbar with python3
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 16 Aug 2018 13:42:18 +0300
changeset 2289 cf0934b42d66
parent 2288 5f59e898b2e4
child 2290 52afa2dec4fb
Update README for WAMP example to use crossbar with python3

crossbar python2 support is broken in v18.7.2.
I've submitted with fixes for that.
https://github.com/crossbario/crossbar/pull/1376

But they don't test crossbar with python2 in CI, so it's going to be
broken again in the future.
And there is no much reason to use crossbar with python2.
tests/wamp/README
--- a/tests/wamp/README	Thu Aug 16 11:01:54 2018 +0300
+++ b/tests/wamp/README	Thu Aug 16 13:42:18 2018 +0300
@@ -9,9 +9,10 @@
 /* Crossbar install */
 #sudo apt-get update
 #sudo apt-get -y dist-upgrade
-sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5-dev
-sudo python -m pip install -U pip
-sudo pip install crossbar
+sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5dev
+sudo apt-get -y install python3-pip
+sudo python3 -m pip install -U pip
+sudo pip3 install crossbar
 crossbar version
 
 /* Start Crossbar command: */
@@ -19,8 +20,23 @@
 
 /* Crossbar test router configuration is available in .crossbar directory. */
 Tested on version:
- Crossbar.io        : 18.3.1 (Crossbar.io COMMUNITY)
-   Autobahn         : 18.3.1 (with JSON, MessagePack, CBOR, UBJSON)
-   Twisted          : 17.9.0-EPollReactor
-   LMDB             : 0.93/lmdb-0.9.18
-   Python           : 2.7.12/CPython
+
+    :::::::::::::::::
+          :::::          _____                      __
+    :::::   :   :::::   / ___/____ ___   ___  ___  / /  ___ _ ____
+    :::::::   :::::::  / /__ / __// _ \ (_-< (_-< / _ \/ _ `// __/
+    :::::   :   :::::  \___//_/   \___//___//___//_.__/\_,_//_/
+          :::::
+    :::::::::::::::::   Crossbar v18.7.2
+
+    Copyright (c) 2013-2018 Crossbar.io Technologies GmbH, licensed under AGPL 3.0.
+
+ Crossbar.io        : 18.7.2
+   Autobahn         : 18.7.1
+   Twisted          : 18.7.0-EPollReactor
+   LMDB             : 0.94/lmdb-0.9.22
+   Python           : 3.6.6/CPython
+ Frozen executable  : no
+ Operating system   : Linux-4.16.0-2-rt-amd64-x86_64-with-debian-buster-sid
+ Host machine       : x86_64
+ Release key        : RWS9T4NltFjmKSMbEtETnOMxRjLhOEZ6e80T5MYzTTh/+NP9Jk20sJmA