Explicitly request Python 3
It varies between systems if /usr/bin/python is Python 2.x or Python 3.x. Since we now only work with Python 3.x we should be more explicit in our scripts and documentation.
This commit is contained in:
parent
33710b3972
commit
108f993eb3
|
@ -6,4 +6,4 @@ install:
|
|||
- pip install 'setuptools>=18.5,<=39.0.0'
|
||||
- pip install -r test-requirements.txt
|
||||
|
||||
script: python setup.py nosetests --verbosity=3
|
||||
script: python3 setup.py nosetests --verbosity=3
|
||||
|
|
|
@ -159,12 +159,12 @@ project demonstrates a simple WebSockets based telnet client (use
|
|||
### Installing websockify
|
||||
|
||||
Download one of the releases or the latest development version, extract
|
||||
it and run `python setup.py install` as root in the directory where you
|
||||
it and run `python3 setup.py install` as root in the directory where you
|
||||
extracted the files. Normally, this will also install numpy for better
|
||||
performance, if you don't have it installed already. However, numpy is
|
||||
optional. If you don't want to install numpy or if you can't compile it,
|
||||
you can edit setup.py and remove the `install_requires=['numpy'],` line
|
||||
before running `python setup.py install`.
|
||||
before running `python3 setup.py install`.
|
||||
|
||||
Afterwards, websockify should be available in your path. Run
|
||||
`websockify --help` to confirm it's installed correctly.
|
||||
|
|
Loading…
Reference in New Issue