mirror of https://github.com/cowrie/cowrie.git
remove reference to python2 (#1302)
This commit is contained in:
parent
8b6df7e255
commit
fbf9be75b1
|
@ -28,10 +28,6 @@ For a Python3 based environment::
|
|||
|
||||
$ sudo apt-get install git python-virtualenv libssl-dev libffi-dev build-essential libpython3-dev python3-minimal authbind virtualenv
|
||||
|
||||
Or for Python2::
|
||||
|
||||
$ sudo apt-get install git python-virtualenv libssl-dev libffi-dev build-essential libpython-dev python2.7-minimal authbind
|
||||
|
||||
Step 2: Create a user account
|
||||
*****************************
|
||||
|
||||
|
@ -79,15 +75,8 @@ Next you need to create your virtual environment::
|
|||
New python executable in ./cowrie/cowrie-env/bin/python
|
||||
Installing setuptools, pip, wheel...done.
|
||||
|
||||
Alternatively, create a Python2 virtual environment::
|
||||
|
||||
$ virtualenv --python=python2 cowrie-env
|
||||
New python executable in ./cowrie/cowrie-env/bin/python
|
||||
Installing setuptools, pip, wheel...done.
|
||||
|
||||
Activate the virtual environment and install packages::
|
||||
|
||||
|
||||
$ source cowrie-env/bin/activate
|
||||
(cowrie-env) $ pip install --upgrade pip
|
||||
(cowrie-env) $ pip install --upgrade -r requirements.txt
|
||||
|
@ -178,7 +167,7 @@ Setcap
|
|||
|
||||
Or use setcap to give permissions to Python to listen on ports<1024::
|
||||
|
||||
$ setcap cap_net_bind_service=+ep /usr/bin/python2.7
|
||||
$ setcap cap_net_bind_service=+ep /usr/bin/python3
|
||||
|
||||
And change the listening ports in `cowrie.cfg` as above.
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ Requirements
|
|||
|
||||
Software required:
|
||||
|
||||
* Python 3.5+ (Python 2.7 support will be deprecated end of 2019)
|
||||
* Python 3.5+
|
||||
* python-virtualenv
|
||||
|
||||
For Python dependencies, see `requirements.txt <https://github.com/cowrie/cowrie/blob/master/requirements.txt>`_.
|
||||
|
|
Loading…
Reference in New Issue