Skip to content

Commit

Permalink
use 'pip install' instead of 'python setup.py'
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 17, 2023
1 parent d538780 commit f73e008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docs/server.rst
Expand Up @@ -163,8 +163,7 @@ You can then checkout the Tunneldigger repository into ``/srv/tunneldigger/tunne
Next you have to enter the environment and install the broker alongside its dependencies::

source env_tunneldigger/bin/activate
cd tunneldigger/broker
python setup.py install
pip install tunneldigger/broker

Configuration
-------------
Expand Down
3 changes: 1 addition & 2 deletions tests/prepare_server.sh
Expand Up @@ -49,8 +49,7 @@ fi

. /srv/env_tunneldigger/bin/activate
if [ -f /srv/tunneldigger/broker/setup.py ]; then
cd /srv/tunneldigger/broker
python setup.py install
pip install /srv/tunneldigger/broker
else
pip install -r /srv/tunneldigger/broker/requirements.txt
fi
Expand Down

0 comments on commit f73e008

Please sign in to comment.