# HG changeset patch # User Goffi # Date 1582373211 -3600 # Node ID f124ed5ea78b715e37420530092ff2bcc76b6e83 # Parent 7a43c039c261fda43e8a32980f2ec82b2e7a3b5d doc: remove python2 references + added a warning for `python setup.py install` diff -r 7a43c039c261 -r f124ed5ea78b doc/installation.rst --- a/doc/installation.rst Sat Dec 28 19:57:02 2019 +0100 +++ b/doc/installation.rst Sat Feb 22 13:06:51 2020 +0100 @@ -4,10 +4,6 @@ This are the instructions to install SàT Pubsub. -Please note that SàT PubSub, as all SàT ecosystem, is still using Python 2 (this will -change for SàT PubSub 0.4 version which will be Python 3 only), so all instructions below -have to be made using python 2. - .. note:: SàT PubSub is not released yet and this documentation is work in progress @@ -16,7 +12,7 @@ Requirements ------------ -- Python 2.7.x +- Python 3.7+ - Twisted >= 15.2.0: - Twisted Core - Twisted Words @@ -45,13 +41,19 @@ $ cd -And enter the following commands (note that *virtualenv2* may be named -*virtualenv* on some distributions, just be sure it's Python **2** version):: +And enter the following commands:: - $ virtualenv2 env + $ python3 -m venv env $ source env/bin/activate $ pip install hg+https://repos.goffi.org/sat_pubsub +.. note:: + + If your are installing from a local clone of the repository, it has been reported that + installation with ``python setup.py install`` is not working properly. Please use ``pip + install .`` instead. + + Post Installation -----------------