Skip to content

Commit

Permalink
fixed default python paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
cescobarresi authored and lordmauve committed Jul 15, 2017
1 parent e84d812 commit bffc95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/howto.rst
Expand Up @@ -48,7 +48,7 @@ How to customise interpreter paths
----------------------------------

Chopsticks assumes that the interpreter path on a remote host will be
``/usr/share/python2`` for Python 2 and ``/usr/share/python3`` for Python 3.
``/usr/bin/python2`` for Python 2 and ``/usr/bin/python3`` for Python 3.
However, these paths may not always be correct.

To override the path of the interpreter you can simple subclass :class:`Tunnel`
Expand All @@ -60,4 +60,4 @@ To override the path of the interpreter you can simple subclass :class:`Tunnel`

To do this for all tunnels of the same type, modify the attribute on the type::

Tunnel.python2 = '/usr/bin/python2'
Tunnel.python2 = '/usr/local/bin/python2'

0 comments on commit bffc95d

Please sign in to comment.